This article explains how to add CNAME for root domains ie yourdomain.com if your domain registrar does not allow this setup and if you prefer not having “www” before your domain.
- Go to https://www.cloudflare.com/
- If you don't have a CloudFlare account yet, click "Sign up" to get an account.
- Login to your CloudFlare account through https://www.cloudflare.com/login
- Enter your custom domain in the “Add a website” field. Please make sure to add the domain in this format: yourdomain.com. Don't forget to click "Scan DNS Records".
- Wait for about a minute as CloudFlare scans your domain’s DNS. You can watch their video while waiting!
- Click “Continue” once the scan is done.
- Add a CNAME record for your root domain pointing to dns.strikingly.com as follows. Leave @ in the "Name" column to represent the root domain. Enter cf-dns.strikingly.com in the “Value” column and select “Add Record”.
- Scroll down and click “Continue”.
- Select the “Free plan” option then click on “Continue”.
- Please take note of the nameservers provided under the column “Change Nameservers to:”. Then login to your domain registrar’s DNS panel and change the existing nameservers to the nameservers given by Cloudflare. Once the nameservers are updated, click “Continue”.
- You're all set!
Note: The nameserver change may take 24-48 hours to be completed so the site may be inaccessible during this period.