: DNS record for permanent redirect? Newbie webmaster here: I have 2 domains mydomain.com and mydomain.net. I want a permanent redirect so that if anyone browses to mydomain.net they navigate
Newbie webmaster here: I have 2 domains mydomain.com and mydomain.net. I want a permanent redirect so that if anyone browses to mydomain.net they navigate to mydomain.com. Is there a way to do this using DNS records?
More posts by @Shakeerah822
3 Comments
Sorted by latest first Latest Oldest Best
You won't be able to "redirect" using DNS records.
As mentioned:
You could create a CNAME record for your .net domain, this way your
DNS will translate mydomain.net to mydomain.com.
This is a good first step, but this only sets the domain to point to the same IP, it doesn't actually perform any redirecting. Once the domain is pointing to the same place you can then set your webserver (Apache/NGINX/IIS/&c) to HTTP redirect traffic from one domain to the other.
You can try redirect.center.
In your case, configure your DNS like this:
mydomain.net A 54.84.55.102
redirect.mydomain.net CNAME mydomain.com.redirect.center www.mydomain.net CNAME mydomain.redirect.center
You could create a CNAME record for your .net domain, this way your DNS will translate mydomain.net to mydomain.com.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.