Avatar of PLCITS
PLCITS
 asked on

I cant access my webpage internally in the entwork

I have my internal domain xyz.com and my webpage call the same way xyz.com  when I try to access the webpage internally in some computer I can access because the browser put www and some other I cant,  I have the record in my DNS WWW but still is not showed in some computer  but if I add www.xyz.com I can see it but if not I cant is any record or way to add in the DNS to display my website in all the computer even if then put www or not?


My web server is not in my internal network is in a cloud service
DNSNetworkingDomain Controller

Avatar of undefined
Last Comment
masnrock

8/22/2022 - Mon
Jose Gabriel Ortega Castro

Ok the problem is that when you use xyz.com you're calling your domain as well. And this is used for troubleshooting the domain, for example, pinging xyz.com will make the "domain" to answer instead of the Webpage.

Solution1:
You can add an "A" record on a registry with the hostname @ and the internal IP of the web server.
Solution2
it's to use the www always ( create an "A" record with the hostname of "www" and add the binding into the IIS as www.xyz.com)
that's another solution.
DrDave242

is any record or way to add in the DNS to display my website in all the computer even if then put www or not?

I'm afraid not. If your internal and external domains have the same name, you'll always have to add the www to the URL in order to access the site internally. Your AD domain controllers register DNS records internally that cause the FQDN xyz.com to resolve to the IP addresses of those DCs. Those particular DNS records are essentially obsolete nowadays, as they are intended to allow non-site-aware systems to locate a domain controller. (In a Windows context, "non-site-aware systems" translates to "operating systems older than Windows 2000," but it may also apply to non-Windows OSes.) If you delete them, though, they'll just come back; the DCs will re-register them. If you create your own blank host record, your internal clients may or may not resolve it to the address of your website each time they try, because of the way round robin DNS works.

I'm sure there's a way to prevent the DCs from registering those particular DNS records while still allowing them to register all of the other ones. It's also possible in most cases to rename your internal domain. However, I don't think either of these things is worth the effort. We're taking about a character string consisting of three w's and a dot; it's not that hard to type. :)
PLCITS

ASKER
Sorry I didn't mention my web server is not in my internal network is in a cloud service
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
DrDave242

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Qlemo

A hack I do not recommend is to run a web server on the domain controller, performing a HTTP redirect to www.
You can also use a port proxy/port forwarder on the DC for HTTP(s), which is a low-profile workaround, not adding to vulnerabilities, and hence sounds better. FPipe is one of those.
masnrock

In the long run, you will want to change the name. Something like ABC.xyz.com (can be any unused subdomain).