Last reviewed: February 2022
Note: All options discussed in this guide assume you have already added your custom domain to your Netlify site.
Hi there! Need to get your site up and running with DNS? Start here with either Newly purchased domain or Existing domain that you’ve already used.
If you have a brand new domain purchased from a registrar such as Namecheap or GoDaddy, and you want to quickly get your DNS set up, you have two options:
External DNS - Create these two DNS records at your registrar:
Type Name Value A @ 126.96.36.199 CNAME www mysite.netlify.app
The value for mysite is your site name on Netlify, for example,
brave-curie-671954. If you renamed your netlify site, use that instead.
Netlify DNS - Switch from using your registrar’s name servers to using Netlify’s. To do this, you’ll create a DNS Zone at Netlify. In the Netlify UI, navigate to your site and go to Domains —> Custom Domains. Click the Options button to the right of your custom name and select Set up Netlify DNS. There, scroll down to see your four nameservers. Write down the names and URLs of those name servers, then head over to your registrar and change the nameservers listed in your registrar’s dashboard to those you just copied from Netlify.
You’re done! Now we wait, as these changes won’t take effect immediately. Changes to DNS records can take up to 48 hours to propagate and take effect for the entire internet - worldwide! You can check your progress using this tool. See this Support Guide for more info on why it really can take this long: [Support Guide] Why do DNS / SSL changes take up to 48 hours to propagate? (TTL)
Feel like it should have been propagated already? If it hasn’t yet been 24-48 hours, please wait a little longer before creating a new post. We cannot speed up this process for you, sadly. Many DNS issues fix themselves with a little patience, and if it has not yet been 48 hours we will likely ask you to wait before we investigate.
We recommend option 1 above, External DNS.
However, if you want to use Netlify DNS instead, you totally can. You’ll need to copy all existing DNS records to Netlify before changing the name server records to point to Netlify, especially if you have an email service configured for it like GSuite. Please read this Support Guide for more details about copying existing DNS records to Netlify: [Support Guide] How do I migrate a domain to Netlify Managed DNS with zero downtime?
If you purchased your new domain through Netlify it will already have Netlify DNS enabled! So you are all set.
Not sure which to use? Check out this Support Guide: [Support Guide] Should I use Netlify to manage my DNS?
- External DNS doc - External DNS keeps your DNS records with the existing provider - which is normally the domain registrar but not always.
- Netlify DNS doc - Netlify DNS means using Netlify as the DNS service provider, and managing all of your DNS records at Netlify.
- Netlify blog post: How to Set Up Netlify DNS - Custom Domains, CNAME, & A Records
Note that we have compiled a listing of all of our DNS related content, so if you have more questions after reading the above, they are likely addressed in one of the posts linked in this article.
EXTERNAL DNS - ADDING RECORDS
NETLIFY DNS - CHANGING NAMESERVERS