My public website name and AD domain name are the same. How can I get to my external website from inside my network?

Solution 1:

If you've named your Active Directory then you cannot prevent this. You've gone against Microsft's best practices for naming an AD and you're seeing one of the symptoms.

You have a few choices:

  1. Migrate to a properly named AD. Something like

  2. Install a web server on each DC and configure it to forward web requests for to This is dirty and shouldn't be done, but it's an option nonetheless.

  3. Train your users to go to internally.

I've blogged about AD naming best practices multiple times and link to official Microsoft sources. You should read them:


If you want the short version:

Do not create new Active Directory forests with the same name as an external DNS name. For example, if your Internet DNS URL is, you must choose a different name for your internal forest to avoid future compatibility issues. That name should be unique and unlikely for web traffic. For example:


Solution 2:

If you are running Exchange on the DC, do not set up a PortProxy - it may go without saying but it will break Exchange services hosted on port 80.

I realize this post is quite old, but you can still do this without installing IIS on the DC's. On every DC, run the following command to portproxy port 80 to the external web server.

netsh interface portproxy add v4tov4 listenport=80 listenaddress={Static IP v4 address of DC) connectport=80 connectaddress={IP Address of public Web Server}