How to Set a Custom Domain Name on Netlify in just 2 Steps

Quick steps on setting up a custom domain name on Netlify.

Info

Site built with Hugo static site generator, Netlify hosting, and a domain from Hover.
Use this link to buy a domain from Hover, and we both get $2 credit!

1. Add a Custom Domain on Netlify

Visit Netlify > Click Your Site > Settings > Domain Management

Click “Add a custom domain”, enter your domain name, and save.
Netlify Domain ManagementTip: Netlify recommends using the “www prefix”.

2. Add DNS Record for Netlify

This will point your custom domain name to the content hosted on Netlify.
Netlify will display a “DOC BLOCK” in your domain settings which explains how to point your domain to the Netlify servers. There are various ways to do this, Follow their recommended setup.
Netlify Domain DNS Settings

On Hover, I did this by adding a CNAME record, which looks like this.
Hover DNS Record Settings

3. Add Netlify Nameservers (Optional, but Awesome)

Using Netlify’s DNS will allow you to access: SSL for https, Netlify CDN for fast loading, and DDoS protection all for free!

In the Netlify domain settings, click “Use Netlify DNS” (refer to appropriate the image above). Then change the nameservers on your registrar to Netlify’s. Here’s what that looks like on Hover.
Hover Edit Nameserver Settings

You’re done!