...
This method of domain name setup is recommended
Benefits of CloudFlare service
No restrictions for your website links format:
https://yourdomain.com (without www) links work with no restrictions (most registrars does not support this)
http://yourdomain.com/some-profile (without www) links work with no restrictions (most registrars does not support this)
Website protection from DDoS attacks
Cached pages and content allowing faster load of pages.
How to setup
Signup or login into your CloudFlare account:
https://www.cloudflare.comClick on Add a site
Enter your domain name that you want to use for your website and click Add a site button to continue:
On the next step scroll down and choose free subscription - it is enough for the beginning
Cloudflare will scan existing DNS records, once completed make sure to remove record with your main domain in
Name
column andA
inType
column:Add new record with
CNAME
in type,@
in name andcloud.connect.scrile.com
in Target. Make sure to keep proxy status turned on.Add new record with
CNAME
in type,www
in name and@
in Target. Make sure to keep proxy status turned on.Enable Full SSL/TLS encryption mode in the Overview section.
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.
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):
Do do
My Products
page: https://account.godaddy.com/products?go_redirect=disabledChoose your domain name and go to
DNS
settings page.Scroll down to
Nameservers
section and clickChange
...
Click on
Enter my own nameservers
Put nameservers suggested by cloudflare and click save, confirming risk operation.
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.Once everything is done, you will get confirmation on cloudflare domain overview page.
Go to
Rules / Page Rules
settings on cloudflare and add following
...
rule:
Redirect every request to www subdomain:
...
Redirect to HTTPS:
...
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:
...
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...