SOLVED – Company Website works on the web but not in my local network

  1. Home
  2. /
  3. General
  4. /
  5. SOLVED – Company Website...
If you have the issue where your website is showing up everywhere except for your local network, check out the following information.
The issue is your server was once set up to either host e-mail, like Exchange, or your website.  Now it is not hosting your website and you need to point your local DNS to the new IP address of the web server hosting your website.
To test this theory, you can easily change the HOSTS file in a computer on the network to point to the IP address of the web host.

How to Change the Host File:

To fix the issue network-wide, you have to change the DNS in the Domain Controller to point the domain to the actual external IP address of the web host.

How To Change the DNS:

  1. Go to the server that handles your DNS
  2. Open DNS manager
  3. Expand the server, Expand the Forward Lookup Zones
  4. Make sure that you have a zone called: yourdomain.com. If not, create it.
  5. Expand the zone
  6. Check to verify that you have two records;  An A record without anything and an A record with www.
The A record without anything will work for http://yourdomain.com
The A record with the www will work for http://www.yourdomain.com
Both of these records should point to your web host’s IP address.
Note: you do not have to check the box to create a reverse lookup as you do not host it on a local machine.
  1. Propagate the changes to other DNS if they exist and you are done.
  2. To be on the safe side, right-click the server and select Clear Cache.
  3. Then the clients need to run “ipconfig /flushdns” in cmd line

I would do it in the servers too to check.