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?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
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.
...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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.
Sam PanwarSr. Server AdministratorCommented:

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
[url]www.mydomain.com[/url] A




It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.