Last reviewed by Netlify Support: June 2024
You sure can! This will be a three-step process but don’t worry, it’s not that hard.
-
Go ahead and log in to your Netlify account, and add the name of the awesome domain you own to your site in Domain management → Production domains.
-
Pull up the website for your DNS host. This is likely your domain registrar, aka the place where you bought your domain. You’ll want to navigate to your DNS records section and create these two records there:
Type Name Value A @ 75.2.60.5 CNAME www example.netlify.app
(in some cases, instead of “@” you’ll use a blank value or example.com.
- conventions vary!)
Note that in some cases, such as Cloudflare’s DNS hosting, you may be able to use a Flattened CNAME
, or ANAME, or ALIAS record for that apex domain instead of an A
record. If so, please use the value apex-loadbalancer.netlify.com
and one of these record types instead as this is optimal! But, in case your DNS provider doesn’t have those records, the A
record shown above will work too!
Soooo what’s the point of these records, exactly? Well, we want to ensure that people end up at your website whether they type example.com
or www.example.com
into their browser, so this set up has you covered either way.
- Finally, go back to Netlify because you’ll want check to make sure there is no DNS zone on your site. The Netlify DNS zone is not necessary when using some other service such as your registrar for DNS, and we want to avoid any confusion or problems with this misconfiguration, as much as possible. If it exists, you’ll see this in your domain settings panel for the site:
You can remove it by clicking on that Netlify DNS
label, and scrolling down to the bottom of the page it takes you to, to the “Danger Zone”:
Here is how you can check your (or any other domain) in the terminal or command prompt to make sure the records are set up correctly and ready to go.
To check “example.com”, run host example.com
and it should return a message including 75.2.60.5
. For www.example.com, host www.example.com
should return a message including example.netlify.app
(in case you used an ALIAS, ANAME, or Flattened CNAME instead, you may see a response also including 99.83.231.61 and that is ok!)
If you don’t see the right changes, try repeating the steps, or comment below and we’ll try and assist!