TechSpot

problem with the local network having the same domain name as the public network

By davids
Feb 14, 2007
  1. HI,

    I have installed server 2003 on a small network and created a domain that is the same as the public domain name (ie the companies website).

    This is now causing a problem because when i type in the public address (for example www.company.com) it is trying to resolve it locally - because the local domain name is also company.com.

    Does anyone know if there is a way to get round this problem?

    Many thanks in advance

    Dave
     
  2. jobeard

    jobeard TS Ambassador Posts: 9,310   +617

    add 'local.' to the internal domain or change it altogether.

    Your public domain should not have any connection into your private infrastructure,
    but you may have references from private->public; not very common.
     
    1 person likes this.
  3. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    It's perfectly OK to have the same names for internal and external networks and you don't have to re-do anything here. Just create an entry for your webserver in the DNS on the Windows server.
     
  4. jobeard

    jobeard TS Ambassador Posts: 9,310   +617

    I believe all DNS requests are going to the internal domain but are failing to make
    a recursive exernal call.
     
  5. davids

    davids TS Rookie Topic Starter Posts: 96

    Jobeard, I had come to the same conclusion, and I have spent most of today loading a test network environment and then trying to follow microsfts instructions for renaming the domain:) -hard work, but it seems to work ok.


    nodsu
    I did mess around with the DNS and tryed to add entries etc, but to no avail. Would you mind giving some detailed instructions on how to do it? and whether it will update on all machines immediatly etc??
     
  6. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    Administrative Tools->DNS->Forward Lookup Zones
    Right-click company.com, New Host (A)
    Name->www
    IP address - the IP of your web server
    Click Add Host

    To test whether the name resolves, open up the command prompt on a client.
    Run "ping www.company.com". It should show the IP address when starting to ping.

    To flush the DNS cache on a client to clear up any old entries, run "ipconfig /flushdns"
     
  7. davids

    davids TS Rookie Topic Starter Posts: 96

    Nodsu

    Thanks that worked a treat! I cant beleive it was that simple:)

    Its just a shame I spent all day yesterday testing domain rename! But for anyones information that did work pretty well also:)

    Dave
     
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...