Link to home
Start Free TrialLog in
Avatar of sharkbot221984
sharkbot221984Flag for United States of America

asked on

Server name resolution

We have a development server that is hosting a website.

If we type in the ip address ex. http://11.11.11.111/site/index.php in a web browser it calls up the site everytime.

If we type in the server name and domain ex. http://server.domain.com/site/index.php in a web browser it calls up the site sometimes.

If we type in the server name only ex. http://server/site/index.php it seems to call up the site everytime as well.

Not a big issue but why doesn't it like to see the domain.com added sometimes?
Avatar of jar3817
jar3817

Do you have external nameservers listed on your client that don't know about the domain.com domain?  Check "ipconfig /all" and see if any nameservers other than internal ones for your domain are listed.
Avatar of sharkbot221984

ASKER

Yes, every machine points to an internal dns first, then to at least 2 other external dns servers for our isp.  Some also use opendns, it varies greatly.
ASKER CERTIFIED SOLUTION
Avatar of jar3817
jar3817

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I stripped out the extra nameservers and the FQDN worked, then I added back in an external and it still works (for now).  I will keep testing to see when it fails again, then strip out the external again and see if that brings it back, but I think you hit the nail on the head.
It's still working for me, however not for others that I didn't remove the external name servers for, so I am sure it's solved.  

One more question though, why specifically shouldn't we use external namer servers?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, I think I will quietly switch all internal machines to point only to the DNS server and then double check that that server has external servers to forward onto.
Assuming you're using dhcp, just get rid of those servers from the scope and when the clients renew their lease they'll have the correct servers.