Same domain names internal and external issue
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.
Related videos on Youtube
oshirowanen
Updated on September 18, 2022Comments
-
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 about 13 yearsThe tags specify Windows
-
oshirowanen about 13 yearsPlease see update 1 in the original question.
-
oshirowanen about 13 yearsWhere does this new A record go? In our internal DNS server, or the external DNS server?
-
oshirowanen about 13 yearsReally sorry about that. I don't know anything about networking, I am a programmer, trying to make my life a little easier.
-
Holocryptic about 13 yearsYou're having the problem internally, so your internal DNS.
-
Holocryptic about 13 yearsI 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 about 13 yearsEven with the split dns solution?
-
Holocryptic about 13 yearswell, no that would fix it. sorry, I meant that comment to regard the A record fix.