How do I foward website request from client machines in my domain to my hosted website for the same domain.

Posted on 2009-02-24
Medium Priority
Last Modified: 2012-05-06
I created an AD domain with 25 client machines (mycompany.com).  I previously had a website by the same name (www.mycompany.com). AD works fine, DNS server works fine too. Even my hosted imap email (imap.isp.com) works fine for my users (user1@mycompany.com). The problem is that when machines inside my LAN AND members of the Domain go to (www.mycompany.com) they get a "page not found error."  The website (on the ISP) works for all client machines outside the LAN, and it also works for machine inside the LAN and NOT part of the domain.  I'm pretty sure it has to do something with DNS, but my knowledge of DNS is limited.

I'm running MS Windows 2003 SBE server R2, with an AD, and a DNS server setup.
More info upon request.

Thanks in advance for all your help and time.
Question by:confidente1931
  • 2

Assisted Solution

smashpmk712 earned 135 total points
ID: 23725883
you want to go to your DNS and add an A record for you company.com domain that points to the IP if the hosted website.

Accepted Solution

McNetic earned 240 total points
ID: 23725888
If you're still in test phase and can decide to use a different domain name for your AD, you could use something like mycompany.local, which does not interfere with the external hosted dns of mycompany.com. This appears to be a best practice, but I'm not totally sure about this.

If you can't or don't want to change the dns name of your ad, you will have to provide a static dns entry in your dns server for www.mydomain.com resolving to the IP address of the external web server. You have to determine this by querying (with nslookup for example) an external dns server. Unfortunately, with this setup, you have to manually change this dns entry if the entry for the www server ever changes (which might be outside your scope).

Author Comment

ID: 23735375
Thank you Experts for your prompt response.  McNetic, as of right now the server is in production.   Also, we are gearing up to include an exchange server, so we named the domain as our website.  I will try both solutions today and report back to you guys.

Thanks again,

Author Closing Comment

ID: 31550747
Both solutions were right, however, I was unable to create an A host with the full .com domain.  I, however, was able to get it to work, by following the directions and modifying them to only include the "www." part.  Other than that, if I included the full address "www.mydomain.com" I'd get a "record already exist" error.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's recap what we learned from yesterday's Skyport Systems webinar.
Sometimes it necessary to set special permissions on user objects.  For instance when using a Blackberry server, the SendAs permission needs to be set. I see many admins struggle with the setting that permission only to see it disappear within a few…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question