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.

Namecheap + Cloudflare
Cloudflare and Namecheap logo

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:

  1. You have a domain registered at Namecheap.
  2. You own a Namecheap's Cpanel hosting (shared hosting).
  3. You use the domain registered at Namecheap for your Namecheap's Cpanel web hosting.
  4. 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

  1. Login to your Cloudflare account.
  2. On your Cloudflare home dashboard account, click on "+ Add a Site" button.

    Cloudflare dashboard
  3. Enter your site root domain (e.g.: mysite.com) and click on "Add site" button to submit.
  4. 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.

    Select Cloudflare plan
  5. 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.

    Cloudflare review DNSses
  6. 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!

    Cloudflare given Nameservers

Part 2: Changing your domain nameservers

  1. Login to your Namecheap account dashboard.
  2. Look for your domain and click "Manage".

    Namecheap domain dashboard
  3. Scroll down and find "NAMESERVERS" section.
  4. Click on the input select and change it from "Namecheap Web Hosting DNS" to "Custom DNS".

    Namecheap domain change nameservers
  5. Now on the input areas that appears, fill the values with given Cloudflare's nameservers before:
    First row: damon.ns.cloudflare.com
    Second row: kami.ns.cloudflare.com
    Click the βœ… icon to save the configuration.

    Namecheap enter Cloudflare's nameservers
  6. Done! Note: The DNS changes could take up to 42 hours to fully propagated.