This is a discussion on VirtualHost Problems on Apache2 within the Linux software forums, part of the Linux Getting Started category; Hi everybody I'm getting this problem and I just can't understand how to get out of it. Can anybody help? ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hi everybody
I'm getting this problem and I just can't understand how to get out of it. Can anybody help? The xxx.mars.av.it.pt is a virtual host to /var/www/xxx. If needed I could post my virtualhost configs. root@artemis:/etc/apache2/sites-available# /etc/init.d/apache2 reload * Reloading apache 2.0 configuration... [Tue Nov 07 16:15:18 2006] [error] (EAI 2)Name or service not known: Cannot resolve host name qqq.mars.av.it.pt --- ignoring! [Tue Nov 07 16:15:18 2006] [error] (EAI 2)Name or service not known: Cannot resolve host name xxx.mars.av.it.pt --- ignoring! [Tue Nov 07 16:15:18 2006] [error] (EAI 2)Name or service not known: Cannot resolve host name yyy.mars.av.it.pt --- ignoring! [Tue Nov 07 16:15:18 2006] [error] (EAI 2)Name or service not known: Cannot resolve host name zzz.mars.av.it.pt --- ignoring! [ ok ] Thanks Rick |
| Sponsored Links | ||
|
|
|
|||
|
Here's the output of the command.
root@artemis:/etc/apache2# apache2 -t -D DUMP_VHOSTS [Wed Nov 08 14:20:56 2006] [warn] VirtualHost xxx.mars.av.it.pt:80 overlaps with VirtualHost yyy.mars.av.it.pt:80, the first has precedence, perhaps you need a NameVirtualHost directive [Wed Nov 08 14:20:56 2006] [warn] VirtualHost zzz.mars.av.it.pt:80 overlaps with VirtualHost xxx.mars.av.it.pt:80, the first has precedence, perhaps you need a NameVirtualHost directive VirtualHost configuration: 127.0.0.1:80 mars.av.it.pt (/etc/apache2/sites-enabled/xxx:1) 193.136.92.209:80 mars.av.it.pt (/etc/apache2/sites-enabled/zzz:1) wildcard NameVirtualHosts and _default_ servers: *:* is a NameVirtualHost default server localhost.localdomain (/etc/apache2/sites-enabled/000-default:2) port * namevhost localhost.localdomain (/etc/apache2/sites-enabled/000-default:2) Syntax OK As of the config file, I have a config file for each virtual host. making a symbolic link from that config file in sites-available to sites-enabled. The virtual hosts (actual site file are located on /var/www/xxx, /var/www/yyy, etc.. |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| php apache2 mysql | pansarevai | Web servers | 1 | 03-05-2008 12:06 AM |
| How to start Apache2 automatically at boot | satimis | Web servers | 2 | 02-03-2008 06:03 PM |
| PHPMyAdmin Problems | JoeDively | Coding in General | 0 | 09-21-2007 09:30 PM |
| nfs problems | marros | Linux software | 2 | 10-21-2006 01:30 AM |
| debian apache2 cgi-bin location | Linux software | 1 | 01-24-2006 06:44 PM | |