In the following steps, we'll guide you through how to set up a DNS Zone from an existing or new domain on StackPath. After walking through this guide, you'll be able to easily modify your DNS zone to your desired configuration.
Creating a Zone
- Login to the StackPath Portal
- Select the Stack where you wish to create your DNS zone
- Select DNS from the Overview or left-hand Navigation menu
- Click Create DNS Zone
- Enter your website's domain name. Do not include subdomains like "www", "CDN" or protocols (HTTPS)
- If your website is being migrated from another DNS provider, StackPath will automatically scan and import supported, publicly exposed DNS records. If not, you'll be able to manually upload your DNS records for your new site.
Be sure to check your DNS zone to ensure StackPath supports all of your DNS record types
Adding DNS Records
If you would like more information about what types of DNS records StackPath offers and what they are commonly used for, please read our article on the types of DNS records supported by StackPath.
If you have access to your entire DNS Zone File from your current provider, please read this article for instruction on importing records via a Zone File. Otherwise, feel free to follow the steps below to import your records manually.
- Click the button that reads Add Record
- A new record form, highlighted in light blue, will appear on top of your current records. There are 4 fields to be filled out.
- Type: The class of record. An A Record points a domain to an IP, Cname; a subdomain to a domain.
- Name: The name the record resolves from.
A Record: your domain
Cname: your subdomain
- Value: The value the record resolves to.
A Record: your IP
Cname: your domain
- TTL: The amount of time your DNS record lives before asking to be refreshed. (Note - It is best to set a short TTL at first, to make troubleshooting possible propagation issues easier)
- Click Save
- If you have any questions or need some guidance on properly formatting your DNS records, this article will guide you so to best avoid issues with malformed DNS records.
- It could take up to 24 hours for your new record to globally propagate. We recommend a third party tool to check your DNS status: What's my DNS?
From the record fields, enter the Name into the search box and choose the correct record type. Press Search and verify that all locations list the Value you submitted. If they do, your new record working properly. Now any changes you made in the StackPath portal will be reflected on your live site.
For more information on debugging common DNS issues such as propagation problems, please check this article as it has a wealth of information!
Adding StackPath Name Servers
Once you have duplicated your existing DNS records on the StackPath portal, it is now time to migrate point your domain registrar to the StackPath Name Servers.
When you're ready to have traffic directed to StackPath DNS servers, please follow these steps.
This notification indicates your DNS Name Servers have not been pointed to StackPath.
- Select DNS from the StackPath left-hand navigation menu
- Select Edit next to the domain you wish to change the Name Servers for
- Copy the StackPath Name Servers
- Log in to your hosting registrar's portal
- Paste the StackPath Name Servers to your current registrar. If your registrar is not in the guide, please contact our Support team via 24/7 live chat to get help finding where to set your domain's nameservers.
- Please note that it could take up to 24 hours for your Name Servers to globally propagate. We recommend a third party tool to check your DNS status: What's my DNS?
Enter your domain into the search box and change the record type to NS. Press Search and verify that all locations list the StackPath name servers you filed with your registrar. If they do, your site is all set. Now any changes you make in the StackPath portal will be reflective on your live site.
For more information on debugging common DNS issues, such as name server propagation problems, please check this article as it has a wealth of information!