[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Where does the Raq2 GUI put virtual host information/virtual host problems



On Mon, 28 Jul 2003, Darryl Hafermalz wrote:

> I'm debugging a problem with virtual hosts. When I add a virtual host via
> the GUI containing the same IP address as the server main site (ie. both are
> xxx.xxx.xx.102), the virtual host can be accessed via http, ftp, ssh, etc.
> with no problem.
>
> However, when I add a virtual host with an IP address that is different than
> the main site (ie. xxx.xxx.xx.103), I have no response at all from http,
> ftp, ssh, etc.

Execute "ifconfig"
See if the ethernet port is configured to listen to the new IP
Should be eth0:1

> Before you mention DNS, please assume that DNS is configured correctly - I
> have done extensive testing to verify DNS.  Plus, I cannot access any
> services using only the IP address.

Seems like that is a problem, you should be able to access using IP
addresses.


> Some things worth noting - I would appreciate your clarification:
>
> First, I find no virtual host infomation in any of the apache configuration
> files in the /etc/httpd/conf directory.  Where does the GUI put this
> information?  Why can I still resolve/access virtual hosts when using the
> same IP as the main site?


There should be a <VitualHost> container for each site in
/etc/httpd/conf/httpd.conf


> Second, when I ping the IP of xxx.xxx.xx.102 from the server itself, icmp
> responds with the same address.  However, when I ping the IP of
> xxx.xxx.xx.103 from the server, it returns the looparound IP.   Note that I
> can not ping my server from another machine, as my colo firewalls incoming
> ICMP messages.  This may be a red herring, but I thought it was worth
> mentioning.

Again check "ifconfig"
Also look at /etc/sysconfig/network-scripts and see it there are
ifcfg-eth0:0 and ifcfg-eth0:1 in that directory

Gerald
--
http://frontstreetnetworks.com | http://store.raqware.com
  Front Street Networks LLC, 229 Front Street, Ste.#C
  New Haven, CT 06513-3203 | phone: +1-203-785-0699