Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Klaus Boehme on March 06, 2002, 06:42:55 PM

Title: External Web on Local Domain!
Post by: Klaus Boehme on March 06, 2002, 06:42:55 PM
I am trying to figure how to disable the local domain web site and point the LAN users to an external same domain web site using the SME Interface.

eg:

The SME Server (5.1.2) (server/gateway) is set up as mail.mydomain.com;

It automatically sets up www.mydomain.com as a local host;

However, www.mydomain.com is housed externally, thus those on the LAN are getting the local page not the external site.

Disabling the local www host doesn't seem to be the answer as the requests then just fail (the proxy still believes it should be local but not served).

Any guidance on achieving this would be welcome.

Regards

Klaus
Title: Re: External Web on Local Domain!
Post by: Michael on March 06, 2002, 06:59:22 PM
Add www.mydomain.com as external. This works fine with my installation.
Title: Re: External Web on Local Domain!
Post by: Confucius on March 07, 2002, 05:09:15 PM
In the manager you can fill in the direct IP number behind your external page at the 'Hostnames and addresses' panel. select modify at the www segment of yourdomain.com and tell it that it's an remote located page en put in the IP number.

Works perfect for us here...

Harro
Title: Re: External Web on Local Domain!
Post by: Klaus Boehme on March 08, 2002, 10:24:13 AM
Thanks for the replies, but there are some difficulties still.  (I did RTFM by the way :-) )

I tried setting the external and was still seeing the local generated page, however I think that is now an Internet Explorer/Squid issue - I will clear the squid cache and see if that helps.

The problem I have with entering the external IP of the web site is that the ISP hosts it as a virtual domain - which shares the IP address between a number of sites.

My current workaround will be to mirror the external site locally, if I don't find a simple solution to this, I will likely change the domain name of the gateway - as it is not accessible from or serving outside.


Klaus