All Collections
Domains
How do I create a CNAME record in DNS with my hosting provider?
How do I create a CNAME record in DNS with my hosting provider?
Alex avatar
Written by Alex
Updated over a week ago

Our Whitelabel feature allows you to create your own branded URL (scan.mybusiness.com) rather than Flowcode's default URLs (flowcode.com/p/EXAMPLE) to provide a more customized branded experience to your users. To use a white label URL, you need to create a CNAME record in your domain host’s settings.

Here’s a quick guide for creating a CNAME record in your domain hosts. You will find AWS, GoDaddy, Google, HostGator, BlueHost, Namecheap, Hetzner, Cloudflare, Shopify, and WordPress in this guide.

Do I need to create a CNAME record?

When using a URL containing a different domain name, you will need to create a CNAME record for it in the domain host’s settings.

You need to perform this step only once after you add a different domain in the Domains section of your dashboard. If this step is not completed, your new codes will redirect users to an error page.

Adding a CNAME record isn't a complex task, but the process can be different for each hosting provider. Follow the steps discussed below to create a CNAME record in your domain’s DNS settings.

What is a CNAME record?

The CNAME (canonical name) record is a resource record used in the Domain Name System (DNS) to map one domain name (alias) to the canonical domain name (primary domain).

If you run multiple services with different subdomains, you must create a CNAME record in your domain DNS settings to point the URL to the primary URL. When you create a CNAME record, the URL in the record becomes an alias for the primary domain.

For example, let’s say your canonical URL (main URL) is “example.com.” The most common example of an alias domain name, in this case, will be “www.example.com.”

If you want “www.example.com” to point to “example.com,” you need to create a CNAME record for “www.example.com” in your DNS settings.

How to add a CNAME record in AWS?

  1. Log into your AWS account.

  2. Go to Registered domain and click on your domain name.

  3. Click on Manage DNS and then on your domain name. A list of DNS records will appear.

  4. Click on Create Record Set. A new interface will open.

  5. Fill in the needed fields, including the Name, Type, TTL, Value, and Routing Policy. Select the Alias option as No.

  6. Click on Create.

That’s it. A new CNAME record will be added.

How to add a CNAME record in GoDaddy?

  1. Sign into your GoDaddy account.

  2. Go to the list of your domain and names and click on the domain name you want to access. The Domain Settings page will open.

  3. Click on Manage DNS to open the zone file. Now, click on Add and set the type to CNAME.

  4. Enter the CNAME record details, including the Name, Value, and TTL. Then, click on Add Record to save the CNAME record.

That’s it. The CNAME record will be updated in less than 48 hours.

How to add a CNAME record in Google Domain via Google Cloud?

  1. Head to the Cloud Identity Setup Wizard and copy the CNAME record.

  2. Visit your domain host website and log into your domain’s account.

  3. Select the domain, and go to the section containing the domain’s DNS records. This section could be called Manage DNS, DNS Management, Name Server Management, etc.

  4. Find the CNAME records for the domain.

  5. Paste the CNAME record you copied earlier in the records section.

  6. Save your changes.

Depending on the domain host, the changes could take up to 72 hours to reflect.

How to add a CNAME record in HostGator?

Follow these steps to add a CNAME record in Hostgator:

  1. Head to Domains, and then click on Zone Editor.

  2. Click on the + CNAME Record button.

  3. Enter the needed details, including the Name and CNAME.

  4. Click on Add a CNAME Record to save the changes.

That’s it. Your CNAME record will be created.

If you’re a Web Hosting Manager or Plesk user, visit this page for specific steps to add CNAME records.

How to add a CNAME record in Bluehost?

Follow these steps to create a CNAME record in Bluehost:

  1. For the Legacy interface, go to the Domains section and click on DNS Zone Editor. For the Rock interface, go to Domains and click on Zone Editor.

  2. Select your domain name. Then, scroll down and click on Add DNS Record.

  3. Enter the record name in the Host Record field.

  4. Click on the Type drop-down menu and click on CNAME.

  5. Enter the URL that the CNAME record should point to in the Points To field.

  6. Update the other fields as needed or leave them to default.

  7. Click on Add Record to save the changes.

That’s all. The new CNAME record will be added.

How to add a CNAME record in Namecheap?

Follow these steps to create a CNAME record in Namecheap:

  1. Sign in to your Namecheap account.

  2. Head to Domain List from the left side menu. Find the domain name and click on the Manage button next to it.

  3. Go to Advanced DNS and click on Add New Record.

  4. Select the Type as CNAME Record and fill in the Host, Value, and TTL fields.

  5. Click on Save All Changes.

That’s it. The new CNAME Record will be created.

How to add a CNAME record in Hetzner?

  1. Log into your Hetzner account.

  2. Select the DNS zone for which you want to create a CNAME record.

  3. Click on Records and select the type CNAME from the dropdown menu.

  4. Fill in the needed fields, including the Host, Alias, and TTL.

  5. Click on Add record to create the record.

The newly created record will be visible in the record list.

How to add a CNAME record in Cloudflare?

  1. Log into your Cloudflare dashboard.

  2. Select your domain from the top-left dropdown menu.

  3. Head to the DNS settings page.

  4. Click on the Add Record button beside the Search DNS bar. Enter the record details and select the type CNAME.

  5. Click on Add Record to save the record.

The new CNAME record will appear in the DNS records list.

How to add a CNAME record in Shopify?

  1. Log into your Shopify dashboard.

  2. Select your domain from the left menu.

  3. Head to the DNS settings page.

  4. Click on the Add custom record button.

  5. Click on the CNAME record.

  6. Enter the qr under Name and your Target URL under Points to.

  7. Click on the Confirm button.

The new CNAME record will appear in the DNS records list.

How to add a CNAME record in WordPress?

  1. Visit your site’s dashboard and navigate to UpgradesDomains to view all the domains associated with that site:

  2. Click on the domain and then click on DNS records.

  3. Here, you will find a list of the current DNS records. You can then click on the Manage button to make changes.

  4. Click on the Add a record button in the upper right corner.

  5. Click on the Type dropdown to select the type of DNS record you wish to add. Choose CNAME.

  6. Fill in the remaining information including Name, Host, and Value.

The new CNAME record will appear in the DNS records list.

How to add a CNAME record to another hosting provider?

Creating a CNAME record is different for each domain hosting provider, but the process is similar overall. If the steps for your domain host aren’t mentioned above, follow these general steps:

  1. Sign in to your domain host provider.

  2. Open your domain’s settings, and look for DNS management settings.

  3. There, you’ll find the option for creating DNS records.


For more help, please email our support team or reach out to your dedicated Client Success Manager.

Did this answer your question?