Indotechboy — Namecheap is one of the top domain provider in the world. Starting as a domain registrar, Namecheap now also provide web hosting services.
Namecheap hosting is also one of the best in term price and specs. I also use one of Namecheap's shared hosting, and what I like the most from Namecheap's web hosting is their "honest price" for their flat price web hosting plans. There are no "price gimmick" like many other web hosting providers.
But one day, I want to have SSL connection on one of my website hosted at Namecheap's shared hosting account, but I still don't want to pay for SSL certificate service yet because it is only for my personal blog. So the best choices are Let's Encrypt (letsencrypt.org) or Cloudflare (cloudflare.com).
But, it is so hell complicated (for me, of course 😀) to get work the Let's Encrypt SSL certificate on a Cpanel web hosting. So, I went to Cloudflare.
But before we can use Cloudflare services including their free SSL certificate (yahoo 😁), we must point the domain nameservers to Cloudflare's nameservers.
So here they are, how to point your domain hosted at Namecheap's Cpanel web hosting… to Cloudflare. We can still use your Namecheap domain and web hosting, and also take benefit of Cloudflare services.
Whose this tutorial for:
- You have a domain registered at Namecheap.
- You own a Namecheap's Cpanel hosting (shared hosting).
- You use the domain registered at Namecheap for your Namecheap's Cpanel web hosting.
- Lastly, you want to take advantage of Cloudflare's services for your websites.
Steps how to point your Namecheap's web hosting domain to Cloudflare
Part 1: Registering your domain at Cloudflare
- Login to your Cloudflare account.
- On your Cloudflare home dashboard account, click on "+ Add a Site" button.
- Enter your site root domain (e.g.:
mysite.com) and click on "Add site" button to submit.
- Select your Cloudflare subscription plan. The free plan is good enough if you only want basic services like free SLL certificate 😁. Click "Confirm plan" button in the bottom to proceed.
- If you have a correctly working website, Cloudflare should be automatically detect DNS records for your website domain then. Click "Continue" button in the bottom to proceed.
- Lastly, we must change the domain nameservers in our Namecheap domain configuration with Cloudflare's nameservers. Write the given Cloudflare's nameservers because we will need it later on part 2 of this tutorial below!
Part 2: Changing your domain nameservers
- Login to your Namecheap account dashboard.
- Look for your domain and click "Manage".
- Scroll down and find "NAMESERVERS" section.
- Click on the input select and change it from "Namecheap Web Hosting DNS" to "Custom DNS".
- Now on the input areas that appears, fill the values with given Cloudflare's nameservers before:
Click the ✅ icon to save the configuration.
- Done! Note: The DNS changes could take up to 42 hours to fully propagated.