What is Cloudflare?
Cloudflare is a free-to-start service that sits between your visitors and your website. It can make your site faster, block bad traffic, and add extra safety. It also runs DNS for your domain. DNS is like a phone book for the internet. It turns a website name into a number that computers understand.
What is the proxy?
The proxy is Cloudflare's "middle-man" mode. When it is on, visitors talk to Cloudflare first, and Cloudflare talks to your server. Your real server address stays hidden. In the DNS list, an orange cloud means the proxy is on. A grey cloud means it is off, and only DNS is used.
Ask Hostvento support if your hosting plan has any special Cloudflare options.
Set up Cloudflare
- Go to the Cloudflare website and create an account, or log in.
- Click Add a site and enter your domain name.
- Choose a plan. Cloudflare offers a free one.
- Cloudflare scans your current DNS records. Check that the list is right. Your server's IP address is in your Hostvento welcome email.
- Click Continue. Cloudflare shows you two nameservers. These are the addresses that run your DNS.
- Log in to the Hostvento client area.
- Open Domains, then My Domains, and manage your domain.
- Find the nameserver settings and choose to use custom nameservers.
- Enter the two Cloudflare nameservers and click Save.
- Go back to Cloudflare and click Done, check nameservers.
It can take from a few minutes to a day for this to work. Cloudflare emails you when it is active.
Turn the proxy off or on
- Log in to Cloudflare and select your domain.
- Click DNS, then Records.
- Find the A or CNAME record for your site.
- Click the cloud icon in the Proxy status column. Or click Edit and use the toggle.
- Orange cloud is on. Grey cloud is off.
- Click Save.
When to turn it off
- You need to test your server directly.
- A service, such as mail, needs the real server address. Mail records must stay grey.
- You get redirect loop errors. Check the SSL mode in Cloudflare too.
Quick recap
- Add your domain in Cloudflare and check the DNS list.
- Change your nameservers to Cloudflare's in the client area.
- Orange cloud means the proxy is on. Grey means it is off.
- Click the cloud in the DNS list to switch it.