How to configure DNS for a domain that should redirect to a Netlify site?

I have two domains, registered through Let’s call them

In the past, was pointed at a netlify site. worked.
I set up to forward to I suppose this was http only? I will never know now.

Now I have reversed the roles of the domains. has become primary and is pointed at my netlify site. https works. is configured to forward to, in’s dashboard.

Problem: is NOT forwarding (note “s” in httpS).
Hover says this cannot work, as they only provide 302 redirects.

But due to the previous setup, many people have bookmarked So I want that to redirect for both https and http.

Hover says I can configure for DNS redirect, but that I have to get details from Netlify:

“You would have to update DNS to map the domain to the website instead of forwarding. The website host will have to provide you with the required DNS”

“The website host will let you know which DNS records to update. They might say name servers if they want zone file to be managed by them or they might say A records or a CNAME”

I can’t find any specifics in Netlify’s documentation about how to do this. I can’t use a _redirects file, which all I can find documentation on.

Thanks for any help!

Hi Jenny,

You’ll want to make sure the DNS actually points directly to us for all names in question. That will mean A and CNAME records, not some “web alias” or “domain forwarding”. Once that is the case, the domain settings screen will show that DNS configuration is correct, like this:

In that example, all of the hostnames except the last one are correctly configured.

Once this is the case, you can renew the SSL certificate and it should work for all names, and they should all forward to https.

Before it is the case, yes, redirection is not expected to work correctly.

Hopefully that helps out!

I ended up creating a dummy Netlify site for that consists solely of a “hello world” index.html file and a one-line _redirects file of this form:

/* 301!

On, I configured the domain to use the Netlify name servers and otherwise am letting Netlify handle DNS for the dummy site. This appears to be doing exactly what I want. I understand there may be some other or better way, but this is the one I got working.

1 Like