Koozali.org: home of the SME Server

Hostnames and addresses

Mark

Hostnames and addresses
« on: December 05, 2003, 11:19:01 PM »
Can someone explain the function of the Hostnames and addresses section of server manager (v6.03b)?  I thought, from what I've read in forum post, that is could be use to redirect HTTP request to a remote server.  I changed the entry for www.mysite.com to remote with an address of 192.168.1.4, an internal address. But the server still anwers all HTTP request.  Is there another way to send request for  www.mysite.com and not mail.mysite.com to a second server?

Thanks,
Mark

Boris

Re: Hostnames and addresses
« Reply #1 on: December 05, 2003, 11:44:51 PM »
This function in the server-manager doesn't do redirect itself. It creates/updates "hosts" file and local DNS server (on the server itself). In addition it makes DHCP reservations for static-like IP assigments to DHCP clients.

If your internal workstation is using Server as a DNS provider, modifications in the host names and addresses will work, but for external users, who use their own DNS servers it will not.

To redirect webpage to another server you need "proxypass" module for apache, available as contribution for SME server. The one updated in april by Abe Loveless works great on SME 5.6, but needs to be tested on SME 6.x

Mark

Re: Hostnames and addresses
« Reply #2 on: December 05, 2003, 11:50:47 PM »
Can you tell me where to find the contrib by Abe Loveless?

Thanks Again,
Mark

Byte

Re: Hostnames and addresses
« Reply #3 on: December 06, 2003, 12:01:56 AM »

Mark

Re: Hostnames and addresses
« Reply #4 on: December 06, 2003, 12:04:37 AM »
Thanks!

I'll let you know if it works with 6.0

ryan

Re: Hostnames and addresses
« Reply #5 on: December 09, 2003, 01:37:52 AM »
On 5.6, I deleted the existing www host on SME.  Then recreate www and make it a remote host with the IP address of your web server.  In my case, this is a hosting company on a different internet subnet.  It works great if your clients use 'www', if they leave the 'www' off in the browser, they will get the SME default page.

ryan,