How to setup a root domain on Netlify using redirectssl

All domains are setup using domain name records, you add these using your domain name providers control panel. Sadly going through every possible domain registrar's specific DNS management interface is to much for this tutorial, so if you have questions ask your domain registrar for help.

You start by adding your domain to netlify using the Domain management settings in the control panel for your website.

After doing so you will need to add a CNAME record (your website URL, say your site name is brave-curie-671954 then the CNAME record should point to brave-curie-671954.netlify.com) to your domain name server records (know as DNS records), once this is added your SSL certificate for your www. will be setup and managed by Netlify.

Now that you are finished getting your site setup with www.domain.com you want people to be able to type https://domain.com and end up on your website.

This is where redirectssl comes into play.

Start by logging into your account and clicking "Add domain", now you will enter domain.com as the domain and www.domain.com as the redirect (this is done by default). You will want to make sure 301 Permanant redirect is selected, and Pass query parameters. Once that is done click Add domain.

You are now given an IP address, this is your root A record IP. Go back to your DNS records and add a A record (or update if it already exists) setting the host to @ and the IP address to this IP.

Wait for up to 24 hours for the DNS to propagate throughout the internet and give it a try, everything will fully work as expected.

Sit back and watch your traffic fly!

Ready to dive in?
Start your free trial today.

Recent guides

We can handle any service you use, need help integrating it let us know by contacting support.

Heroku Guide

How to setup your root domain with SSL on Heroku

Platform.sh Guide

How to setup your root domain with SSL on Platform.sh

Netlify Guide

How to setup your root domain with SSL on Heroku

Naked Domain Guide

How to redirect a naked domain with SSL

Google App Engine Guide

How to setup your root domain with SSL on Google App Engine

Now.sh Guide

How to setup your root domain with SSL on Now.sh

Wix Guide

How to setup your root domain with SSL on Wix

GoDaddy Guide

How to setup your root domain with SSL on GoDaddy

© 2020 redirectssl. All rights reserved.

API documentation Terms of Service Privacy Policy