[Xitami] Virtual Host?

Paul Reid xitami@lists.xitami.org
Fri, 13 Jun 2003 12:23:20 -0400


> I have [one IP address] but, I have several [Domain names] How do
> I setup Xitami so that if a user types in something.com he/she is
> directed to pages in something.com on the other hand, if
> (anotherdomain.net) is used they are directed to pages for that
> Domain name....

As I just told someone else:

Go into XITAMI's main Administration page, click "Virtual hosts".
Click "New".

Create virtual host profile:  [ drewhoo ]
Select IP address: [ (all) ]
Or, enter DNS host name:  [ drewhoo.com ]
Web page root directory:  drewhoo
Create directories if necessary?  [ ] (not checked)
Click "Create"

Since you already have the pages, I told you to NOT "Create
directories" so if you get the syntax wrong, Xitami will complain
and let you guess again.

The way you are set up now, (webpages)/drewhoo/ will pull up a
directory listing, unless you have an index.html in there. You
probably want to rename Drewhoo.html to index.html, so it will pop
up when drewhoo.com/ opens (webpages)/drewhoo/

 -PRR