HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Howto get rid of Apache2 vhosts errors on restart/reload (http://www.howtoforge.com/forums/showthread.php?t=61605)

alecvannoten 25th April 2013 08:21

Howto get rid of Apache2 vhosts errors on restart/reload
 
Hi guys,

Currently running the latest ISPconfig on debian 6 fully updated and patched etc.

but how the hell do you get rid of these apache errors on restart/reload config?

Code:

Restarting web server: apache2[Thu Apr 25 08:02:54 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
[Thu Apr 25 08:02:54 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
 ... waiting [Thu Apr 25 08:02:55 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
[Thu Apr 25 08:02:55 2013] [warn] NameVirtualHost *:80 has no VirtualHosts

I already activated create vhost for IP etc...
what to do?
maybe it's something overlooked in ISPconfig?

Maybe it's a great solution you can set default site for ip/hostname/wildcard somewhere?

till 25th April 2013 09:06

http://www.howtoforge.com/forums/sho...3&postcount=16

alecvannoten 25th April 2013 09:11

Hi,

I already passed this thread, but now when i surf to the server hostname / ips I go to the first website it finds in its configuration?

can't I set up a default site to show when IP/hostname is entered?

till 25th April 2013 09:17

Quote:

I already passed this thread, but now when i surf to the server hostname / ips I go to the first website it finds in its configuration?
Thats the normal behaviour of the apache webserver.

Quote:

can't I set up a default site to show when IP/hostname is entered?
Thats possible off course, create anwe website and use as domain:

0000default.tld

to ensure that it is the first site in alphabet on this IP or *.

alecvannoten 26th April 2013 15:07

Thanks Till, problem solved!


All times are GMT +2. The time now is 16:16.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.