What is Cloudflare
Cloudflare is essentially a website security infrastructure that provides DNS and CDN with added tools and features that make your connections secure, fast and private, offering DDos protection, firewalls, proxies, reverse proxies, SSL & TLS, API, and much more.
How to point your domain to 10Web when using Cloudflare
If you would like to use Cloudflare services with 10Web hosting, management of your DNS records should be in Cloudflare and you can point your domain to 10Web using an A record.
To point your domain:
- Log in to your 10Web account
- Click on the website where you want to point your domain
- Click on Point Domain
- Click on Add Domain
Note:
Please make sure that your domain has not been added elsewhere. In the case that it has, please make sure that you remove it before adding and pointing to 10Web.
- Fill In your domain name and click Add Domain
- To the left of the dashboard, click on Credentials
- Find and copy your IPv4 address
- Log in to your Cloudflare dashboard
- Go to DNS management
- Leave the hostname empty or enter an @
- Add the A record by pasting your IPv4 address in the value field.
Note:
It may take up to 24 hours for the new records to resolve and changes to take effect.
You can use a third party tool to check if your address has been resolved.
Once your address has been resolved, you will need to make the domain primary.
To make your domain primary:
- Click on Domains
- Find the domain you have pointed
- Click Make Primary
Note:
Click the tick off and make sure the 10Web free SSL is not enabled.
- Click Confirm
Using 10Web free SSL with Cloudflare
All websites hosted on 10Web are provided with a free SSL certificate from Let’s Encrypt.
Important:
A redirection loop will occur if you have enabled the 10Web free SSL certificate and your Cloudflare encryption mode is set to flexible.
To generate a free SSL certificate with 10Web for a proxied domain:
- Go to your Cloudflare dashboard
- To the left of the dashboard, click on DNS
- Go to your domain click Edit
- Under Proxy status click the toggle to DNS only
Important:
If you have both yourdomain.com & www.yourdomain.com, please make sure to change the proxy status of both to DNS only.
- Click Save
- Log in to your 10Web account
- Click on the website where you want to generate the SSL certificate
- Click on Tools located to the left of the dashboard
- Generate a free SSL certificate
- Next go to your Cloudflare dashboard
- Go to DNS
- Navigate to your domain and click edit
- Under Proxy status for your domain, turn the toggle to Proxied
- Click Save
- To the left of the dashboard, click on SSL/TLS
- Set the encryption to Full
Using Cloudflare SSL while hosting on 10Web
When Cloudflare proxy is turned on, you are automatically using the SSL provided by Cloudflare. In this case, you can choose to have your proxy encryption mode set to Flexible or Full.
To turn the proxy on in Cloudflare:
- Go to your Cloudflare dashboard
- Go to DNS
- Navigate to your domain and click edit
- Under Proxy status for your domain, turn the toggle to Proxied
- Click Save
- To the left of the dashboard, click on SSL/TLS
- Set the encryption to Flexible or Full.
Important:
You should not generate the free SSL certificate offered by 10Web with your Cloudflare proxy set to Flexible. Doing this will create a redirection loop.