Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This method of domain name setup is recommended

Benefits of CloudFlare service

  1. No restrictions for your website links format:

    1. https://yourdomain.com (without www) links work with no restrictions (most registrars does not support this)

    2. http://yourdomain.com/some-profile (without www) links work with no restrictions (most registrars does not support this)

  2. Website protection from DDoS attacks

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

How to setup

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

  2. Click on Add a site

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

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

    Image Modified
  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:

    Image Modified
  6. Add new record with CNAME in type, @ in name and cloud.connect.scrile.com in Target. Make sure to keep proxy status turned on.

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

    Image Modified
  8. Enable Full SSL/TLS encryption mode in the Overview section.

    Screenshot 2024-11-26 at 16.37.57.pngImage AddedScreenshot 2024-11-26 at 16.35.20.pngImage Added

    Screenshot 2024-11-26 at 16.39.16.pngImage Added

    Screenshot 2024-11-26 at 16.40.20.pngImage Added

  9. Disable Use HTTPS in the Edge Certificates. This is critical in the process of changing the domain. After the domain changes, you can turn it back on, or you can leave it off. The redirect will still occur, just not through CloudFlare, but through our server.

    Image Added
  10. 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: https://account.godaddy.com/products?go_redirect=disabled

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

    3. Scroll down to Nameservers section and click Change

...

    1. Image Added
    2. Click on Enter my own nameservers

      Image Modified
    3. Put nameservers suggested by cloudflare and click save, confirming risk operation.

  1. 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.

    Image Modified
  2. Once everything is done, you will get confirmation on cloudflare domain overview page.

    Image Modified
  3. Go to Rules / Page Rules settings on cloudflare and add following

...

  1. rule:

    • Redirect every request to www subdomain:

...

Redirect to HTTPS:

...

    • Image Added

How to ensure email addresses are visible and usable on your website

Cloudflare automatically offers email obfuscation to protect email addresses from bots and spammers. This means visitors see scrambled code like [email protected] instead of the full address:

...

This issue can be resolved by following these instructions:

https://developers.cloudflare.com/waf/tools/scrape-shield/email-address-obfuscation/

For further control, consider adjusting the Configuration rules as shown in the screenshots:

...

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@14f34
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel in ( "cloudflare" , "ip" , "name" , "setup" , "domain" ) and type = "page" and space = "WEB"
labelscloudflare domain name IP setup

...