Microsoft DNS / Active Directory - Changing IP Address for external domains

We are using Microsoft DNS with Active Directory. We would like to change that if anyone types in a domain name that they will be redirected to either a IP Address or web page we specify. For example....

User A types in and they would be redirected to
User B types in and they would be redirected to

Anyone have any advice?

Brad Wickwire
Who is Participating?
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.

you would need to create a new zone for each domain.  Like  or  Then create a static 'A' record called WWW that points to the IP address of the destination.  You may also be able to do it by using a CNAME record and point it to the '' instead of using an 'A' record to point to the IP address.

The only problem is that it will now be authoritative for all addresses.  this means that will not work, which will kill your yahoo messenger unless you create a static record for it.  When you create a zone, it will no longer go to another DNS server for records that end with that zone.  every address that ends in will be looked up on this server and only this server.

Alternately, you could create HOSTS records on each individual computer.  This gets messy with alot of workstations, but it's the only alternative.  Located in the %system32%\drivers\etc directory, there is a file called HOSTS.  Its just a text file and if you put this:

it will direct to the IP address of  You can determine google's website's IP address by typing 'nslookup' at a command prompt.  That goes for any website.

Redirecting wont work on some websites though.

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
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
Windows Networking

From novice to tech pro — start learning today.