Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Question on CNAME for different domains [closed]

Is it posssible for me to use CNAME for different domains like

www.domain2.com CNAME www.domain1.com

Both are server from same server but different Virtual host (root paths are different)

like image 771
Balaji Avatar asked Sep 16 '11 19:09

Balaji


1 Answers

Yes, it is valid for a CNAME to point to an entirely different domain. This is often used in the context of using CNAME records to handle the TLD variants on your domain such as:

mydomain.com CNAME mydomain.net.
like image 113
davidethell Avatar answered Oct 13 '22 00:10

davidethell