DNS 2 Domains

I have 2 domains.


domain1.com and domain2.com

Is it possible to make domain2.com  point to domain1.com inside of dns without having to make changes to web server or email server?


LVL 6
rjohnsonjrAsked:
Who is Participating?
 
jar3817Commented:
...that isn't going to make his email server accept mail for domain2.com...it is just going to reject it with a "relay denied" message.
0
 
jar3817Commented:
Maybe. It depends on how the servers are set up. For the webserver you can probably just point the to the same IP address and it'll work. The exception is if the server is set up to use name-based virtual hosting, in which case that will not work, the web server will need to be specifically set up to use the domain. As for the email server, it will need to be set up to accept mail from each domain, it won't just accept mail for domains it doesn't know about.
0
 
benh00Commented:
Yes, you simply need to create a DNS record of type "CNAME", with the record host "domain2.com" and the record answer "domain1.com".  You should be able to do this on the configuration page of the place you bought domain2.com from.
0
 
JMMICommented:
Short answer is no.
You can definitely modify the DNS, but that by itself won't get you what you want.

As my peers describe above, there are some things you could do, but one way or another, to make any meaningful amalgamation of roles, you would need to make some adjustments to the servers (web and mail).
So, again, the quick answer to your question would be no, you cannot.

If you have more specific goals to achieve, let us know.
0
 
Sam PanwarSr. Server AdministratorCommented:
Hi,

You can also do with the ASP and PHP web redirect script.

----------------------------------

I think round robin can help you for it.

Use Round robin in DNS for it your requirement 100% solve. Our company also use this for it.

A>Enable Round robin the Advanced tab of Server Properties.
B>) Create at least two A records that will be round robin'd for each new
query for said name.
[url]www.mydomain.com[/url] A 192.168.0.2
[url]www.mydomain.com[/url] A 192.168.0.3

URL
http://content.websitegear.com/article/load_balance_dns.htm

http://www.iis-resources.com/modules/AMS/article.php?storyid=68
http://ntrg.cs.tcd.ie/undergrad/4ba2.01/group8/DNS.html


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html

http://en.wikipedia.org/wiki/Round-robin
http://en.wikipedia.org/wiki/Round_robin_DNS
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.