[Xitami] Virtual Host...
Ross Dakin
xitami@lists.xitami.org
Tue, 17 Jun 2003 15:56:34 -0700
Bill,
The best (fastest) way to test out your websites, cgi, etc. is locally
(127.0.0.1). However, your virtual host must be setup for that address
(127.0.0.1). If you have no virtual host pointing explicitly to 127.0.0.1,
Xitami will default to either the default or baseline (if there is one)
virtual hosts when you try to browse 127.0.0.1 (http://localhost resolves to
127.0.0.1 by the way, they are interchangeable).
Now suppose you get that working but you want to test it from the "outside".
You would need to setup another virtual host that corresponds with your
cable IP address (or a domain name pointing to that address, if you have
one). Or again, Xitami will use it's default/baseline settings because it
won't find a virtual host corresponding to the IP you are trying to browse.
I hope this makes some sense!
-Ross
> -----Original Message-----
> From: xitami-admin@lists.xitami.org
> [mailto:xitami-admin@lists.xitami.org] On Behalf Of Bill Munden
> Sent: Tuesday, June 17, 2003 1:41 PM
> To: Xitami@lists.xitami.org
> Subject: [Xitami] Virtual Host...
>
>
> Hello,
>
> I'm new to the list, so I'm jumping right in with a question
> for the group.
>
> I have setup a virtual host through Xitami's WBA setup. It
> seemed relatively simple and when the process was complete I
> ended up with some directories that corresponded with the
> virtual host name that I used. However, I am at a loss as to
> how I am suppose to be able to access the webpages and cgi
> files for this virtual host through a web browser. I don't
> know what I am suppose to use for a url.
>
> My setup is a personal computer at home. I am using Xitami
> to serve a make believe online business web so that I can
> test cgi's that I have written. I like to be as organized as
> possible, hence the reason for creating the virtual host. I
> want my project to have its own cgi-bin, webpages, etc
> directories. My Internet connection is through a cable
> modem, so the url that I use to access the Xitami web server
> is through that IP address as well as an internal address, 127.0.0.1.
>
> I hope that I am making sense to someone out there. If
> anyone can point me in the right direction for setting up and
> accessing a virtual host via a web browser, I would greatly
> appreciate the input.
>
> Thanks
> Bill
>
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
>