Mobile app version of vmapp.org
Login or Join
Shakeerah822

: 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

@Shakeerah822

Posted in: #Dns #Redirects

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?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Shakeerah822

3 Comments

Sorted by latest first Latest Oldest Best

 

@Lee4591628

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.

10% popularity Vote Up Vote Down


 

@XinRu657

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

10% popularity Vote Up Vote Down


 

@Ann8826881

You could create a CNAME record for your .net domain, this way your DNS will translate mydomain.net to mydomain.com.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme