[Xitami] virtual hosts

Stuart Duckworth xitami@lists.xitami.org
Tue, 29 Mar 2005 23:02:02 +0100


I run xitami on my XP box at home to use for testing sites and pages 
before loading them up to their servers.

Normally I can simply put the site in its own directory in the 
C:\xitami\webpages directory and call it with my browser using:

http://hostname/directoryname

One of the sites I've inherited uses SSI, which I can run in the 
xitami root directory but when I call it using:

http://hostname/directoryname/index.shtml

I get an error printed on the page to the effect that the includes 
couldn't be found in the xitami root directory.

I could fix that by simply copying the necessary files there, but it 
would be messy and could lead me to load incorrect files to the 
site's server.

I thought I could set up virtual hosts on my XP box so that I can 
tell xitami where to find the include files. I am sure I can do that 
so I read through the documentation and found that I appear to need a 
DNS server on my machine to tell it where to find the virtual host.

i) Have I got that right?
ii) What (free) DNS server do people recommend for this fairly simple 
task? I've googled for DNS servers but found the results a little 
confusing.

I'll be grateful for any advice/recommendations.

Stuart


Reply to:
ITServices@blueyonder.co.uk