Domains Help

Add a CNAME record

CNAME records use a domain prefix, such as blog or shop, to connect your domain to a different domain name. If you need to add a domain prefix that connects to an IP address, add a subdomain instead.

Example: The most common CNAME is www, with the @ symbol entered for the Value field. This will make load to the same webpage as the root domain,

  1. Sign in to your GoDaddy Domain Portfolio. (Need help logging in? Find your username or password.)
  2. Select Screenshot showing the three-dot icon to select domain edit options Domain Edit Options next to your domain and then select Edit DNS. You may need to scroll down to see Edit DNS.
    screenshot showing the option for edit dns
  3. Select Add New Record.
    Screenshot showing the Add New Record button highlighted with a red rectangle
  4. Select CNAME from the Type menu.
  5. Enter the details for your new CNAME record:
    • Name: The hostname or prefix of the record, without the domain name, such as blog or shop. The Name must follow these guidelines:
      • Periods (.) are allowed but not as the first or last character
      • Consecutive periods (…) are not allowed
      • Cannot exceed 63 characters
      • Cannot be the @ symbol.
      • Not already in use by an existing A record, TXT record or MX record.
    • Value: The URL you are setting as the destination for the host. Type @ to point directly to your root domain name.
    • TTL (Time to Live): The amount of time the server should cache information before refreshing. The default setting is 1 hour.
  6. (Optional) Select Add More Records to add multiple DNS records at the same time. If you change your mind, select screenshot of the icon for deleting a dns record Delete to remove any records that haven't been saved yet.
  7. Select Save to add your new record. If you added multiple records at the same time, select Save All Records.

Most DNS changes take effect within an hour but could take up to 48 hours to update globally.

Related steps

  • Edit or delete an existing CNAME record in your zone file.
  • Keep your Domain Portfolio organized with folders.
  • Quickly manage settings for your domains by using domain profiles.

More info