Setting up CloudFlare

DNS settings in CloudFlare

You read the OmniStream installation and chose to configure your DNS settings through CloudFlare. Wise choice! Let’s talk you through it.

CloudFlare account

OmniStream can take care of the hard work for you by creating and/or removing the necessary subdomains automatically. This only works if you go through CloudFlare.

It is beyond the scope of this tutorial to explain all the benefits or ins and outs of CloudFlare, so we’ll just cover the basics needed to work with OmniStream.

You will need to create an account on CloudFlare. Don’t worry, it is completely free!

We assume you can get through the registration without further aid :)

Adding domain to CloudFlare

Next, add your domain to CloudFlare.

Select the free plan, click “Continue” and follow the instructions on how to change the settings to use the NS services of CloudFlare. Your registrar will definitely be able to help you with that, if needed.

Get API token

Next you need to get your API token. You can click the link, or visit CloudFlare and click “Get your API token” on the right hand side of the domain overview page.

Get the key

Look for “Global API Key” and click “View”:

Provide your password and some proof that you are human, then you should be able to view your own personal key.

Copy that string of text, so that you can paste it in PuTTY.

Back to Omni

Now that you have a CloudFlare account and copied your API token, head back to your PuTTY session. Enter the email address you used to create your CloudFlare account.

Click OK for the next step.

How to paste the key

In PuTTY, you will be asked to paste your key. But… right click doesn’t work! Do I need to type in that entire key? Luckily… no.

If you are using PuTTY, you can paste your key with the keyboard combination Shift-Insert.

  • Pro tip: on a Mac, the key command is Command-V.
    In some Windows emulators the combination to use is
    Ctrl-Shift-V.

Verify that you see a lot of ***** indicating that the key was pasted correctly, then click OK.

Troubleshooting

If you are getting errors with your site, check these settings first.

Clear CloudFlare cache

After you make changes to your CloudFlare settings, make sure you clear the cache to trigger the update(s).

You can find this setting right on your overview page in CloudFlare, under “Quick Actions”. Click “Purge Cache”:

Purge everything

Then select “Purge everything”

This will trigger any changes that you made to your settings.

SSL/TLS settings

If you are getting an error message about “too many redirects”, check if your SSL/TLS settings are set to Full (strict).

Purge the CloudFlare cache after you change your settings.

Plex stuck on logo

If you visit Plex through your domain and it doesn’t proceed past the logo, check the setting below.

Click Speed, then Optimization.

Rocket loader

Scroll down till you see Rocket Loader, and make sure it is toggled off there.

Purge the CloudFlare cache after you change your settings.

That's all

Congratulations, CloudFlare is now ready to use. Log out and back in as your user, then finalize your installation to get your system up and running.