Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no www issue

Status
Not open for further replies.
May 24, 2005
22
GB
Guys,

Our website is say, company.org.uk and it can be resolved with or without the our isp) and I understand how this is done.

We would like it work the same internally also. We have our DCs in the internal company.org.uk zone and have eg (same as parent folder) Host 192.168.0.1 etc records existing for them to enable PCS to pick up the domain.

So I add another:
(same as parent folder) Host 192.168.1.100(ip of website)

to enable the website to resolve without works fine).

The problem is, the browser just picks up on the IP of one of DCs instead of the website. How do I make it pick up the website first through a browser? I can't help but feel I'm missing something rather obvious here!!

Thanx in advance
 
It can't be done. You are trying to have DNS only answer with one of it's records it has for yourdomain.com. The only way is to remove the DC entries for yourdomain.com and I don't think you want to do that.

 
Cheers, does anyone know of any work around for this? It makes sense that it won't work the way I'm trying but I didn't think ours was a particularly unique dns setup and so have other people ran in to the same problem? It doesn't work with an alias either..

Many Thanks
 
The only way i can think of is to install IIS on your DC... and put a redirector page in place to forward requests to your web server...

Honestly, not sure if this will work, but it's easy enough to try, though I'm not sure that you want IIS on your DC :)

~Intruder~
CEH, MCSA/MCSE 2000/2003

"The Less You Do, The Less Can Go Wrong" :)
 
As I thought it might be, the answer was staring me in face all along! Basically we have a Squid proxy(all PCs are set to go through this for Web/Intranet access) with DNS running and it holds secondary copies of all our internal zones. I simply put the record in squids hosts file. Simple eh?

Thanks for your suggestions though people.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top