What this is
A custom domain is your own web address, like yourbusiness.com. This article shows how to make your site open at that address.
It is for sites we host. If your site is hosted somewhere else, your address stays with that host. You have nothing to do here.
Before you start
- Your site must be built first. Until then, the domain buttons are greyed out.
- Your own web address needs a paid plan for this site. On the free plan you see “Custom domains are part of the Professional plan.”
- You need to be an account admin or owner to open Site Settings.
- Your domain can be one you bought through us, or one you own somewhere else.
- For a domain you own somewhere else, you need to log in where you manage it. This is usually the company you bought it from.
Steps
- Click Site Settings in the left menu.
- Open the Domains section.
- If you bought a domain through us, a green box says it is ready to attach. Click Attach to this site. We set up its records for you, so skip to What happens next.
- For a domain you own elsewhere, open the list under Custom Domain. Choose Enter a new domain….
- Type your domain, like example.com. Leave Let Netlify manage DNS unticked unless we told you to tick it. Click Add Domain.
- Under Connected Domains, click View Instructions next to your domain. It shows the exact records to add. You can also click Show quick DNS setup tips and pick your domain company for its steps.
- Log in where you manage your domain. Add each record just as shown. Records are small settings that point your address at your site.
- Come back and click Check Status.
What the records look like
We attach your plain address (yourbusiness.com) and the www version together. Your screen shows the exact values. These are the shapes to expect.
- www: a CNAME record. It points to your site’s own address with us. Do not skip this one.
- @ (the plain address): an ALIAS record that points to
apex-loadbalancer.netlify.com. This is the best choice. - @, if your company has no ALIAS option: an A record that points to
75.2.60.5.
Add one of the two @ records, not both.
What happens next
Changes at your domain company usually take 5 to 15 minutes. Sometimes they take up to a day.
You will see two badges on your domain:
- Verification can turn green early. Do not treat it as the finish line.
- SSL: ready is the one that counts. When you see it, your site is live at your own address.
While you wait, this screen checks again every 30 seconds. You can also click Check Status.
If something goes wrong
- You see “Custom domains are part of the Professional plan.” This site is on the free plan. Pick a paid plan in Billing, then try again.
- SSL stays pending. Check that the www record exists. Remove any old records on @ or www that point somewhere else.
- The badge is green but the site will not load. Your records may still be spreading across the internet. Or an old record points elsewhere. Wait, then check again.
- The button says “Assigned elsewhere”. Another site already uses this domain. Click Detach on that site first.
- You added the wrong domain. Click Detach next to it, then Detach domain to confirm. Your site is not deleted, and the domain stays in your account.
- Still stuck after a day. Contact support and tell us your domain name. See Get help and contact support.