Knowledge Sharing - Want to participate in the discussion?
29 Jun
Can any body tell me why im getting this
root@production:/home/bill007# /etc/init.d/apache2 reload
* Reloading apache 2.0 configuration… [Wed Dec 06 01:13:39 2006] [warn] NameVirtualHost *:0 has no VirtualHosts
[Wed Dec 06 01:13:39 2006] [warn] NameVirtualHost *:0 has no VirtualHosts
29 Jun
When start Apache web server or restart the HTTPD service on web host, the following warning message may appears on console or error log, even though Apache HTTP service can still startup and running fine without error.
[warn] NameVirtualHost *:80 has no VirtualHosts
where * can be asterisk itself (*), hostname or IP address.
29 Jun
hi all, i’m a newbie in apache configuration and i’m experiencing some troubles. when i try to start apache i get the error message namevirtualhost <ip> has no virtualhosts for both the two virtualhost. here are virtualhost configuration files:
vh_vimdevr1_https.conf
namevirtualhost 192.168.166.12:443
<VirtualHost 192.168.166.12:443>
ServerName server.name.com
ServerAlias vimdevr1
ServerAdmin admin@domain.com
DocumentRoot “/var/www/html”
ErrorLog “/var/log/httpd/ssl_error_log”
LogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\” \”%{ctVFPortalID}i\”" combined
CustomLog “logs/ssl_access_log” combined
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
<IfDefine LIMIP>
<Location />
MaxConnPerIP 64
</Location>
</IfDefine>
</VirtualHost>
vh_vimdevr1_http.conf
namevirtualhost 192.168.166.12:80
<VirtualHost 192.168.166.12:80>
ServerName server.name.com
ServerAlias vimdevr1
ServerAdmin admin@domain.com
DocumentRoot “/var/www/html”
ErrorLog logs/ssl_error_log
CustomLog logs/ssl_access_log combined
<IfDefine LIMIP>
<Location />
MaxConnPerIP 64
</Location>
</IfDefine>
</VirtualHost>
29 Jun
I’m trying to run a couple virtual hosts for the moment, and when I restart httpd, I get this error:
Starting httpd: [Fri Feb 28 00:25:23 2003] [warn] NameVirtualHost x.x.x.x:0 has no VirtualHosts
here is a clip of the bottom of my httpd.conf:
NameVirtualHost *
<VirtualHost *>
ServerName www.vampylestat.dyndns.org
DocumentRoot /var/www/html
</VirtualHost>
<VirtualHost *>
ServerName webmin.vampylestat.dyndns.org
DocumentRoot /var/www/webmin/html
</VirtualHost>
I’ve tried it out and I can access both websites, but I’d still like to resolve the error I get!
Also, could I get webmin to work as a virtual host, rather than a webserver running on port 10000? I know you can configure webmin to run on port 80, but I would think that would conflict with apache :eek: . Reason I’d like it on port 80 is because of the firewall rules setup at my college.
Tags: Adobe - JRun, Apache - Apache29 Jun
I am having a major problem with my server. Apache has stopped working and I am getting the following when trying to restart it.
[Fri Mar 28 10:56:49 2008] [warn] NameVirtualHost 88.208.208.137:443 has no VirtualHosts
I have looked in the httpd.conf file and vhost.conf file, but am not sure what I need to edit.
Has anybody got any ideas? Would it help if I attached the 2 files?
Check in /etc/apache2/sites-enabled/ for virtualhost files
Also, I believe httpd.conf is not the global apache configuration file anymore (apache2.conf now?) so you might want to check that
—–
I haven’t got a directory called /etc/apache2/sites-enabled/ and I also can’t find an apache2.conf file. I am am assuming that this would be in the normal place? etc/httpd/conf? There is also no /etc/apache2 folder.
The only files related that I can find are the httpd.conf and vhosts.conf.
—-
I **THINK** that httpd.conf should have the base hostname but the virtual hosts should all be in the vhosts.conf file.
—-
Tags: Apache - Apache, Apache - Apache Geronimo