Koozali.org: home of the SME Server

address re-dir

BRYAN

address re-dir
« on: November 18, 1999, 07:33:25 AM »
Is there a way to make it so when people accessing the web server can
enter the url www.bobby.myserver.net where the actual domain name of
the server is www.myserver.net
so instead of entering www.myserver.net/bobby they could enter bobby.myserver.net
What mod does this and how?
Does the directory have to be setup a certain way?User account?

Joseph Morrison

RE: address re-dir
« Reply #1 on: November 18, 1999, 07:59:30 PM »
Hello Bryan,

There is a response to this question on our bulletin board. Search for "javascript virtual hosting" for a very useful posting from Quade.

Also, your Internet provider will have to publish a DNS address record for "bobby.myserver.net" pointing to the same static IP address as your main e-smith server.

Good luck!
- Joe

Charlie Brady

Virtual web domains (RE: address re-dir
« Reply #2 on: November 19, 1999, 09:49:13 AM »
BRYAN wrote:

> Is there a way to make it so when people accessing the web
> server can enter the url www.bobby.myserver.net where the
> actual domain name of the server is www.myserver.net so
> instead of entering www.myserver.net/bobby they could enter
> bobby.myserver.net What mod does this and how?

This is done by setting up virtual domains in the apache
configuration. See the documentation on www.apache.org or in /usr/doc/apache* on your server, and look at the docs on www.e-smith.org for instuctions on modifying your e-smith configuration.

I'd recommend that you do it this way over using a javascript fix - because it will work with all HTTP-1.1 compliant browsers.

As Joe says, the additional names will need to be added into the DNS for your domain.

If you don't have an urgent need for this, keep a look out. You
are not the first to ask for this feature, so it will pop up sooner or later.

Charlie