Windows Domain Name same as externally hosted website

Using Windows Server 2008 Active Directory and Windows Server 2008 DNS Server

My company’s windows domain name is identical to our externally hosted company website.  
Initially we had a problem getting to this external site from our desks until we added a ("www" A Record)  pointing to the externally hosted website's IP address.

This method works well if internal employees enter www.mycompany.com, however, it does not work if the employee enters http://mycompany.com (goes to an internal web server).

I can add an ("http" external IP address) A record in DNS but it will not allow me to create a record like ("http://" external IP address)   I believe that I need to add the “:\\” to the http for this to work but the DNS server will not allow it.

Any ideas on how I can internally forward users that type in http:/mycompany.com to our external website?

Thanks in advance for your assistance.
Mace7777Asked:
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.

Chris DentPowerShell DeveloperCommented:
Hi there,

This is unfortunately a fairly common problem.

AD needs the name so you can't make mycompany.com point to anything else.

That means your choices are:

1. Make everyone use www.mycompany.com exclusively
2. Forward requests for http://mycompany.com to www.mycompany.com
3. Rename your AD domain

2 requires you to set up IIS on every DC and then a web site with a redirection to a URL.

Chris
0

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
Wonko_the_SaneCommented:
Or just give the website a different name :)
mycompanyweb.com

0
Chris DentPowerShell DeveloperCommented:

There's always that :-D

There's also using a proxy server as an option in one form or another, but those are typically a bit more involved.

Chris
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Mace7777Author Commented:
Chris

I like your second (forward them) suggestion.  I do not have a lot of IIS experience but I know a few things.  As of now when my users enter http://mycompany.com they are directed to one of my two AD 2008 Domain servers running IIS 7.  (They actually see the IIS 7 logo).  These internal IIS sites are dormant and not used for anything.

Do you have any step by step instructions on how to forward these people to www.mycompany.com?  If you do then you certainly solved my problem.

Lon
0
Chris DentPowerShell DeveloperCommented:

You may need to add the "Http Redirect" role component for IIS. I'm afraid I don't have a server nearby at the moment.

If that's installed you should get a Http Redirection option when you select the site in IIS 7 manager.

And if you get that far, you can pop in http://www.mycompany.com there.

Most of the process with pictures here :)

http://www.trainsignaltraining.com/windows-server-2008-http-redirection/2008-03-27/

Chris
0
Mace7777Author Commented:
Thanks Chris!

This solution will work for me.  Your the best in the business.
0
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
DNS

From novice to tech pro — start learning today.

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.