Koozali.org: home of the SME Server

VIRTUAL DOMAIN NAME REMOVED BUT STILL EXISTS

Chaloner Hale

VIRTUAL DOMAIN NAME REMOVED BUT STILL EXISTS
« on: November 08, 2001, 08:24:31 PM »
I have two SME V5 servers on the same lan, one providing DCHP, both connected to the net.

One server was named (for instance) www.server.com. On server, I had a virtual domain setup called www.virtual.com. Server local IP is 192.168.0.1 and the second server is 192.168.0.2.

I then removed this virtual domain on server, and set the second server's domain to be www.virtual.com.

Now when I go www.virtual.com/server-manager I get "page not found", yet if I type 192.168.0.2/server-manager I get connected.

Any help would be appreciated.

Thanks,
Chaloner Hale

Jaime Nebrera

Re: VIRTUAL DOMAIN NAME REMOVED BUT STILL EXISTS
« Reply #1 on: November 08, 2001, 11:19:13 PM »
Hi,

  I don't know if this is related but is weird too. If you change the name of the machine from say ABC to XYZ, both names are kept in /home/e-smith/hosts and, because of this in the DNS databases.

  This shouldn't be a big problem BUT if you remind that all e-smith servers start being called e-smith, well you might end up with a LAN full of e-smiths!!!! :)

  Maybe this two are related someway. I believe it has something to do with the removal side of the script that rebuilds the hosts file.

  Regards.

Chris O'Donovan

Re: VIRTUAL DOMAIN NAME REMOVED BUT STILL EXISTS
« Reply #2 on: November 09, 2001, 03:04:55 AM »
The server that is providing DHCP addresses is also telling the clients to use itself for DNS. If it doesn't have an entry for the virtual domain pointing to the second machine the clients won't be able to find it.

Try adding the second virtual domain and the second machine's IP address in the server which provides DHCP to the clients (ie, server-manager -> Hostnames and addresses -> create a new hostname for a local host).

This is a shortcoming of the SME server software. It should be possible to have additional SME servers act as secondary DNS servers so that all DNS information only has to be entered in one server.

It would also be convenient if an SME server could get its internal IP address via DHCP.
Both of these items are possible with linux, its just a question of someone adding it to the server-manager. Maybe someday when I have some spare time...
Chris