Setup domain name with CloudFlare - Webvideo

This method of domain name setup is recommended

Benefits of CloudFlare service

 

  1. Website protection from DDoS attacks

  2. Cached pages and content allowing faster load of pages.

  3. This service is free and meets the basic requirements.

How to setup

  1. Signup or login into your CloudFlare account:
    https://www.cloudflare.com

  2. Click on Add a site

  3. Enter your domain name that you want to use for your website and click Add a site button to continue:

  4. On the next step scroll down and choose free subscription - it is enough for the beginning

  5. Cloudflare will scan existing DNS records, once completed make sure to remove record with your main domain in Name column and A in Type column:

  6. Add new record with CNAME in type, @ in name and YOURSITENAME.DC.online-webcam.net in Target.
    Make sure to keep proxy status turned on
    Instead of YOURSITENAME.DC.online-webcam.net use the value received from our support

  7. Add new record with CNAME in type, www in name and @ in Target. Make sure to keep proxy status turned on.

  8. Once completed you have to replace NS records at your domain name registrar (ex. GoDaddy / Google Domains / etc), follow the instructions on cloudflare page and assign new nameservers.

    Here is an example how it is done on GoDaddy (for other registrars follow this procedure may differ):

    1. Do do My Products page: Sign In

    2. Choose your domain name and go to DNS settings page.

    3. Scroll down to Nameservers section and click Change

    4. Click on Enter my own nameservers

    5. Put nameservers suggested by cloudflare and click save, confirming risk operation.

  9. On cloudflare click Done, check nameservers. Wait up to 24 hour for new settings propagated. Once everything is done, you will get confirmation on cloudflare domain overview page.

  10. Once everything is done, you will get confirmation on cloudflare domain overview page.

  11. Go to Rules / Page Rules settings on cloudflare and add following rule:

    • Redirect every request to www subdomain:

       

  12. And the last important step: go to SSL/TLS and choose Full