ispCP - Board - Support
[SOLVED] All sites down and cant do anything with ispCP? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [SOLVED] All sites down and cant do anything with ispCP? (/thread-5681.html)



[SOLVED] All sites down and cant do anything with ispCP? - DiXeoN - 02-11-2009 10:07 PM

Hello..

Yesterday, suddently all my sites went down, and cant even log into the ispCP panel anymore..

When I try to restart apache (it starts up with the server) I get this warning:
[warn] NameVirtualHost *:80 has no VirtualHosts

AND my /etc/apache2/httpd.conf is TOTALLY empty - shouldnt there be something inside that?

Ive noticed that my server changed local IP, so i have changed the IP everywhere i found it in the configs, but maybe i havent done it in all of them? Please tell me where to change it.

The error i get when trying to reach the site is:

Not Found

The requested URL / was not found on this server.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny2 with Suhosin-Patch Server at nemcom.dk Port 80

So not even the ispCP error... What the hell?

Greetings.


RE: All sites down and cant do anything with ispCP? - Nathariel - 02-11-2009 11:19 PM

If you are using NameVirtualHost *:80 as vhost 'template', then be sure that your domain entries in /etc/apache2/sites-available/ispcp.conf are in the form <VirtualHost *:80>. If you make changes there, don't forget to update /etc/ispcp/apache/working/ispcp.conf as well.

apachectl -t and apachectl -S are your friends. I recommend you to have a look at the apache docs for setting up name based vhosts - it is a must knowledge.

Btw: omitting the IP address in NameVirtualHost and putting '*' sign makes it listen on any ip address (0 0 ) so your change shouldn't bother you.

The httpd.conf in debian by default is empty. Apache is using apache2.conf so don't worry Smile


RE: All sites down and cant do anything with ispCP? - DiXeoN - 02-11-2009 11:44 PM

I tried changing it some more places now, and hope it helps when the server is rebooted..

Else i really dont know what to do :S

Thanks for your help

[EDIT]Allright, my sites are online again Big Grin Thanks alot! [/EDIT]