Setting up your domain name with CNAME record

A domain name is the entry point for your website visitors. Once a user types it in a browser a DNS service matches the website name with the actual server where your software is installed and running.
To help the DNS service to route this connection you have to create A or CNAME record at your domain name registrar. CNAME setup is preferable for better server management and load balancing.

Here is the instruction to create CNAME record and make both www and main domain name working.

Create www subdomain record

  1. Login into your domain name registrar account (for example Godaddy)

  2. Choose your domain name and click to open DNS management panel

  3. Modify existing www record or create a new one

    1. Name: www

    2. Record type: CNAME

    3. Point to: <enter the value supplied in our instruction>

Setting up your root domain name

CNAME record could NOT be created for your root domain name (yourbrand.com)

To solve it there are usually two options depending on your domain name registrar:

  1. Namecheap.com Setup ALIAS record. ALIAS is similar to the CNAME record but allows to point root domain name to any host and you can simply create ALIAS record for @ record.
    Screenshot:

    Click here for more details.

  2. Godaddy.com Set up domain forwarding to www.yourbrand.com (enter your real domain name value with “www.” prefix). See the screenshot below from Godaddy: