I cant access my webpage internally in the entwork

PLCITS
PLCITS used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jose Gabriel Ortega CastroTop Rated Freelancer on MS Technologies
Awarded 2018
Distinguished Expert 2018

Commented:
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.
DrDave242Principal Support Engineer

Commented:
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. :)

Author

Commented:
Sorry I didn't mention my web server is not in my internal network is in a cloud service
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Principal Support Engineer
Commented:
In this case, it doesn't make a difference. Because of the way AD and DNS work, xyz.com (without the www) won't consistently resolve to the address of the website from inside the office. Users will have to type the www.
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
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.
Distinguished Expert 2018

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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial