DNS Redirection – How Can I Redirect Domain A to Domain B Without Hosting, Using Only DNS Records?

301-redirecthostinghttpsovhredirection

I want to redirect domain A (without hosting space) to domain B (301), but when I try https://domainA.com or https://www.domainA.com it ends with ERR_CONNECTION_REFUSED. Is it even possible to use only DNS records?

I'm using OVH.com redirection panel and http:// redirect works fine.

Best Answer

Redirects cannot be done with DNS only.

However, some providers have HTTP redirect services that are configured via same interface as DNS. These support only HTTP. HTTPS support requires valid certificate for the domain.

Therefore if you want to have HTTPS redirects, you need to set up your own server for it.