How can I redirect domain A to domain B without hosting, using only DNS records?

cn flag

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

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

us flag

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.

pat o. avatar
aw flag
There are also third party redirect services which support HTTPS.
cn flag
Ok, then I will point to another server with hosting space. Then I will create valid cert for domainA and set up force redirect for https and after that to domainB. @pato. I have heard about
de flag

Thats not possible on DNS Side,

But if you use CloudFlare DNS, you can configure the redirect via CF proxy [ ]

*Just make sure the domain record use proxy feature.

us flag

Another option is such as which (kindly) gives a free redirect service using only DNS records. An example below redirects from to    IN  CNAME  IN  TXT forward-domain=*
br flag
  1. You can go to the DNS Management console (dnsmgmt.msc).
  2. Then go to the forward lookup zone.
  3. Create zone named
  4. In the zone create a record and name it as "www" then for the IP address of websites.
  5. It should redirect the website without issue.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.