Is there any way to forward MX and HTTP requests to an out side domain is the internal domain is of the same name?

Posted on 2007-10-03
Medium Priority
Last Modified: 2010-04-18

Thank you all in advance for your assistance.  

I have a domain controller setup that handles my entire internal network's DNS, WINS and internal HTTP processing.  For clarity's sake we'll say the domain controller is DC-1.net.  The DC is set up with DNS forwarders to my ISP's DNS servers so that any address outside my network is properly resolved.  However, I do not have a dedicated connection to the internet (well, I do but it's a dynamic IP and I don't really want  the hassle of setting up and maintaining exchange and external web servers) so my external website and e-mail are hosted by a third party through a domain registration also called DC-1.net.

Everything is working fine; i.e., my internal stuff is working and my external stuff is working when accessed from an external web location but when I try to get to my webmail application or to the external domain from inside my network, I encounter an HTTP 404 error message.  I understand that this is because addresses try to resolve inside my domain because the DNS system does not see a need to forward those for external resolution.

So my question, is there a way for me to forward http://webmail.dc-1.net and http://www.dc-1.net for external DNS resolution? Or have I shot myself in the foot by trying to use the same internal name as an externally hosted site?

Many, many thanks for your assistance.

Warmest regards,
Question by:psychosmurf
  • 2
LVL 27

Accepted Solution

DrDave242 earned 2000 total points
ID: 20009987
This is a common issue when the internal and external DNS names are the same, and it's easily solved.  All you need to do is create host records on your internal DNS server for the hosts "webmail" and "www" (assuming those really are the hostnames of your webmail and public web servers).  Point those host records to their external IP addresses, and you're set.  (Clients may need to flush their DNS cache before they'll resolve correctly.)

Author Comment

ID: 20010432
Thank you, DrDave242, for your assistance.  The sites themselves did not have static IP addresses as the hosting service determined them dynamically.  I've added a static IP address to the external domain and will try creating the hostnames once the IP has had a chance to propagate across the net.

Again, many thanks for your assistance and I will post back with the results.

Author Comment

ID: 20011979
DrDave242, you saved me a huge headache.  The solution worked perfectly.  Many, many thanks!

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

862 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