Skip to content

Instantly share code, notes, and snippets.

@FranciscoMoretti
Last active September 12, 2021 15:33
Show Gist options
  • Save FranciscoMoretti/342a350c390a469f64a51b778c9428b3 to your computer and use it in GitHub Desktop.
Save FranciscoMoretti/342a350c390a469f64a51b778c9428b3 to your computer and use it in GitHub Desktop.
Domain Alias in Netlify

How to set a domain alias in Netlify

To set up a domain alias you should already have a primary domain. Other than that, two other things are needed:

  1. Another domain
  2. A DNS provider

Will assume that you already have "another domain" therefore the piece missing is the DNS provider. The best option for this is to use netlify itself (https://app.netlify.com/dns). Just add the new domain and point it to your app name.

SSL certificate

Set up you alias in advance or it won't be included in the SSL certificate generation. Visit the following site for more info https://docs.netlify.com/domains-https/https-ssl/#domain-aliases.

Tip: You can renew the ceritificate in the site "Domain management" settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment