This article explains how to create a CNAME record in UltraDNS which is a DNS resource record that creates an alias from one hostname to another hostname.
You will use a CNAME record when one hostname should resolve through another canonical hostname instead of directly pointing to an IP address.
When to Use This Article
- You need to create a new
CNAMErecord for a domain managed in UltraDNS. - You need one hostname to point to another canonical hostname.
- You are adding an alias record from the UltraDNS Managed Services Portal.
Before You Begin
- Confirm that the domain already exists in UltraDNS.
- Confirm that you have permission to add records in the selected domain.
- Confirm the canonical hostname that the
CNAMErecord should point to. - The
Points Tovalue must be a fully qualified domain name, with or without a trailing dot. - The
Points Tovalue must resolve to an IP address for theCNAMErecord to function.
Steps
- Log in to UltraDNS.
- Click Domains.
- Select the domain where you want to create the
CNAMErecord. - In the CNAME (Canonical Name / Alias) section, click Add Record.
- If the
CNAMEsection is not visible, click Settings and enable theCNAMErecord type. - If the
CNAMEsection is collapsed, expand the section to display the available record options.
- If the
- Enter the
CNAMErecord details.- Host - Enter the hostname for the alias record.
-
Points To - Enter the canonical hostname that the
CNAMEshould point to. - TTL - Enter the Time to Live value in seconds. This field is optional and uses the configured default value if left blank.
- Click Save.
Expected Outcome
The new CNAME record appears in the CNAME (Canonical Name / Alias) section for the selected domain.
After the record is saved, DNS resolvers can return the configured canonical hostname for queries to the alias hostname, subject to normal DNS caching based on the configured TTL.
Important Notes
- A
CNAMErecord must point to a hostname, not directly to an IP address. - If the canonical hostname does not resolve, the alias hostname will not resolve successfully through the
CNAMEchain. - The
TTLvalue controls how long resolvers may cache the record response.