Cloudflare is a free service that acts as a reverse proxy in front of your website. It provides a CDN (faster page loads worldwide), DDoS protection, and free SSL. This guide shows how to set it up with your TPC Hosting website.
Step 1 — Create a Cloudflare account
- Go to https://cloudflare.com and click Sign Up.
- Enter your email address and create a password.
Step 2 — Add your domain to Cloudflare
- After signing in, click Add a Site.
- Enter your domain name (e.g. yourdomain.com) and click Add Site.
- Select the Free plan and click Continue.
Step 3 — Review your DNS records
- Cloudflare will scan your existing DNS records and display them.
- Review the list and make sure all records are present — especially your A record (pointing to your server IP), MX records (for email), and any CNAME records.
- For records you want to proxy through Cloudflare (websites), the orange cloud icon should be enabled. For email (MX records) and subdomains used for mail, the cloud should be grey (DNS only).
- Click Continue.
Step 4 — Update your nameservers
- Cloudflare will show you two nameservers to use (e.g. alice.ns.cloudflare.com and bob.ns.cloudflare.com). These are unique to your account.
- Log in to your domain registrar.
- Replace your current nameservers (ns1.b2b-server.net and ns2.b2b-server.net) with the two Cloudflare nameservers.
- Save the change at your registrar.
- Back in Cloudflare, click Done, check nameservers.
Step 5 — Wait for activation
Cloudflare will send you an email when your domain is active (usually within 5–30 minutes). Once active, your traffic will flow through Cloudflare.
Important notes about email
Cloudflare only proxies web traffic. Your email continues to be handled by TPC Hosting. Make sure your MX records in Cloudflare point to the correct mail server and are set to DNS only (grey cloud), not proxied.