This feature is in
Netlify offers the option to handle DNS management for you. This enables advanced subdomain automation and deployment features, and ensures that your site uses our CDN for the root domain as well as subdomains like www.
- Create a DNS zone for your domain.
- Add DNS records to your zone.
- Point your domain at the nameservers assigned to your DNS zone.
Adding a DNS zone
A zone is the domain name (such as example.com) that will contain all of your DNS records.
To create a DNS zone, go to your team’s or your personal account’s DNS zones section, and select Add a domain. Enter your domain name and select Create zone.
A new DNS zone will be created and populated with a list of nameservers. Note that the nameservers may be different for every DNS zone you create.
Adding DNS records
Go to the DNS records panel on your DNS zone’s page, and select New record.
Choose the type of record to create from the dropdown menu and fill in the remaining options. The fields you need to fill out will depend on the type of record you select.
Select Save to create the record and make the changes live.
Remember, it may take up to a few hours for record changes to propagate.
Note that you can host records for other services (e.g. your mail provider, your back end API, etc) with us as long as you host at least one website with us whose hostnames is within the domain.
Directing DNS traffic to Netlify
The final step to making your DNS records live is to update your domain registrar with the nameservers that will be authoritative for your domain.
The process for changing your domain’s nameservers varies from registrar to registrar. Check your domain registrar’s documentation for updating nameservers. For your convenience, we’ve gathered links to instructions for popular registrars Hover and GoDaddy.
To start directing your DNS traffic to Netlify:
Navigate to your DNS zone’s page on Netlify, and make note of the four nameservers listed in the Nameservers panel.
Log in to the account you have with your domain registrar and find their instructions for updating nameservers.
Replace the nameservers with the nameservers for your Netlify DNS zone.
It may take up to a day for the changes to propagate to the public internet.
Troubleshooting DNS configuration
dig command line tool is the best tool for quickly diagnosing and understanding DNS responses. It is built into Linux and Mac, but can also be installed on Windows.
NS1 –the DNS provider backing Netlify DNS– has a great series of articles on using DIG to test and troubleshoot your DNS configuration.
Notice something is incorrect or outdated?
First off, great eye! We appreciate your discovery and want to ensure it gets addressed immediately. Please let us know here.