Koozali.org: home of the SME Server

Virtual Domain Clash

Lee Irving

Virtual Domain Clash
« on: June 04, 2001, 03:35:55 PM »
I have already asked this in the General Discussion list but as yet I have not been able to solve the problem and wondered if you guys could help.

I have recently set up an E-Smith server on our local domain foo.local and as this server will also handle the mail for our external domain I have also added in the virtual domain of foo.co.uk. This I believe allows the server to handle email for this domain.

Our users would like to use the proxy to access our web site hosted at our isp, www.foo.co.uk but when they attempt to go there they simply get the E-Smith Ibay associated with the virtual domain. I have added into the hosts section the www.foo.co.uk server and IP address and nslookup from the E-Smith Server does resolve to the correct IP address. However I still get the I-Bay instead of our external website.

The problem only occurs when using the proxy except with IE which seems to use the proxy regardless of how its told. Netscape will get to our external site when not using the proxy but will not when going through the proxy.

Is there a way of telling SQUID that www.foo.co.uk is not on the local server but externally hosted ?

Hope someone can at least point me in the right direction

Many Thanks

Lee

Huw

Re: Virtual Domain Clash
« Reply #1 on: June 05, 2001, 11:33:33 AM »
Hi,

Done it on mine (4.1.2) www.huws.org.uk gets de-directed ok.

I put huws.org.uk (not www.h....) in the hosts section, got the IP with a ping.

Had to wait a bit (less than 1 hour) for it all to trickle through.

E-mail gets re-directed OK as well

Hope this helps

Huw

PS to e-smith, if the old qmail could use only the bit before the @ for email re-direct, why can't the new one?

Lee Irving

Re: Virtual Domain Clash
« Reply #2 on: June 05, 2001, 03:37:19 PM »
I have tried this and unfortunately it did not work in my case. If I put the www.foo.co.uk into the host table then the server does reolve the name to the correct IP address however I still get the local content displayed.

Thanks for the effort though.