Same domain names internal and external issue

7,875

You need a split DNS

http://www.isaserver.org/tutorials/You_Need_to_Create_a_Split_DNS.html

A hacky way to fix it would be to put an A record in your DNS that points to the IP of the website. (So www.yourcompanyname.com resolves to the website address)

The best way to fix it would be a split DNS. And that about sums up my knowledge of it. You might get lucky and have someone else expound further on it.

What you're seeing is (based on my experience) *.yourcompanyname.com resolving to the SOA in DNS, which is why you're not able to get to the website internally. Put in an explicit A record for www and that should fix it.

Share:
7,875

Related videos on Youtube

oshirowanen
Author by

oshirowanen

Updated on September 18, 2022

Comments

  • oshirowanen
    oshirowanen over 1 year

    UPDATE 1:

    Basically, from a computer outside the network, I can access the website by typing into the browser address bar, either of the following, which is how it should be:

    http://www.companyname.com
    http://companyname.com
    

    However, from within the company network, we can only access the external website by typing in

    http://www.companyname.com
    

    It will not work if I type

    http://companyname.com
    

    ORIGINAL QUESITON:

    Our internal network has the same domain name as our external website, lets say it's companyname.com for both the website and for our internal network.

    This is causing problems because I am unable to access the companyname.com website from within the network. I have to use a computer from outside the network to see the website.

    Is there a way around this issue, ideally without having to change the internal or external domain names?

  • Kcmamu
    Kcmamu about 13 years
    The tags specify Windows
  • oshirowanen
    oshirowanen about 13 years
    Please see update 1 in the original question.
  • oshirowanen
    oshirowanen about 13 years
    Where does this new A record go? In our internal DNS server, or the external DNS server?
  • oshirowanen
    oshirowanen about 13 years
    Really sorry about that. I don't know anything about networking, I am a programmer, trying to make my life a little easier.
  • Holocryptic
    Holocryptic about 13 years
    You're having the problem internally, so your internal DNS.
  • Holocryptic
    Holocryptic about 13 years
    I should also say that you're not going to be able to do anything else but what you have already. If you can resolve it internally by going to www.yourcompanyname.com that's about the best you can hope for with your current situation.
  • oshirowanen
    oshirowanen about 13 years
    Even with the split dns solution?
  • Holocryptic
    Holocryptic about 13 years
    well, no that would fix it. sorry, I meant that comment to regard the A record fix.