Re: Apache Virtual Hosts


Subject: Re: Apache Virtual Hosts
From: Jim Jagielski (jimydog@jaguNET.com)
Date: Sat Jul 14 2001 - 14:10:03 MDT


Stupid question time: Is there a DNS entry for support.csd-bes.net??
It doesn't look like it. Hence, the browser has no idea where
support.csd-bes.net is located and it's the *browser* reporting
server not found. The request doesn't even make it to Apache.

Domain (and host names) are shorthands for the 'Net. The Net only
really knows about IP addresses. When you say www.apple.com, the
DNS servers translates that name to the IP address (sort of like
if you tell someone "Call Charlie", they dial Charlie's phone number;
the phone company doesn't know Charlie, just his phone number.

At 12:27 PM -0700 7/14/01, Rob Brandt wrote:
>Hi.
>
>What's not working is when I try and add a new virtual server, such as "support.csd-bes.net". If I add:
>
><VirtualHost 208.199.219.39>
>DocumentRoot /var/www/html
>ServerName support.csd-bes.net
></VirtualHost>
>
>Browsing to http://support.csd-bes.net results in "server not found". So what am I missing? I've looked on the apache web site and it looks like I'm doing everything right, but I cannot find examples of exactly what I'm doing above. The examples reflect virtual servers with completely different domain names, not different 'servers' of the main domain. BTW, you may have noticed that my DocumentRoot is the same for both virtual hosts above, but it is not my intent to actually have them point to the same location once they are working. I *think* that's what aliasing is for, and it's not what I want to do. I just haven't set up any pages or location for 'support.csd-bes.net' yet.
>
>TIA
>
>Rob

-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
                   will lose both and deserve neither"



This archive was generated by hypermail 2a24 : Sat Jul 14 2001 - 13:14:47 MDT