Portal Home > Knowledgebase > Articles Database > Error: :80 has no VirtualHosts


Error: :80 has no VirtualHosts




Posted by uwhMike, 04-12-2008, 02:54 PM
Okiiieeeee, so kinda outta no where, I rebooted my server and then when HTTPD started, I got this warning: Not only is this a warning, but now my website is not working anymore for that ip that it warned . is there a reason? and im assuming I have to edit/mess with the virtual host in httpd config, but what exactly could cause this? and what should I look for that needs to be changed.

Posted by activelobby4u, 04-12-2008, 03:57 PM
Check out the NameVirtualHsot entry and make sure all your domains hosted on the Ip are below it in the conf file. You can use * as the argument too to make this accepted for all Ip's in the server. But this can be used for 1.3.13 and later

Posted by uwhMike, 04-13-2008, 07:56 PM
Ok, I checked out the namevirtualhost entries and all check out ok, I only have two domains that were working fine until now. So after I saw virtual host was ok, I decided to make my life easy and just deleted the domains completely from cpanel (and the server for that matter), then recreate them in cpanel (add the account/dns info back on the server). Problem is, they aren't showing up still. no matter if I remove, then create, still no sites. when I go and restart httpd services I still get the same error now: why would the sites not be working? where else do I need to check?

Posted by david510, 04-14-2008, 08:50 AM
You can ignore this warning. It is not an error. It will not affect apache in any way.

Posted by uwhMike, 04-15-2008, 05:56 PM
well, this is the only error thats coming up now, and since I've seen it, I can't see any of my websites listed on the server. why wouldn't any sites work? i've even removed the site, and readded them.

Posted by david510, 04-16-2008, 07:19 AM
Does the sites have virtualhost entries?

Posted by southernerika, 04-16-2008, 08:58 AM
I am too having the same problem. My server was rebooted, and when I attempt to restart apache I have the same error message, I've made sure that my Virtual Hosts are still in the conf file. I have even been able to restart apache, but only when I comment out my Virtual Hosts. However, when I uncomment them while apache is running, my website still doesn't show. Any help would be greatly appreciated. Thanks!

Posted by david510, 04-16-2008, 11:02 AM
Seems the apache conf is broken. Do you have any backup copy?

Posted by southernerika, 04-16-2008, 11:06 AM
I don't have a back up copy...should I uninstall/reinstall apache? Can I take an httpd.conf from another server that is set up similarly?

Posted by hbhb, 04-16-2008, 11:46 AM
first, does reboot solve the problem? otherwise, you may need to recompile.

Posted by david510, 04-16-2008, 11:48 AM
does your server have any control panel?

Posted by southernerika, 04-16-2008, 11:56 AM
A reboot is what broke it in the first place. I'll try that again and let you know. Thanks!

Posted by ub3r, 04-16-2008, 01:12 PM
That's not really true.

Posted by southernerika, 04-16-2008, 02:58 PM
Only reason I say that is because it was working fine up until the reboot (which I did not perform). But anyway...I tried rebooting it again and I still have the error message when I start httpd. I am using Webmin as a control panel. Also, I've applied any package upgrades that were available. This was done after I saw the error message initially in an attempt to get it working again. I guess my next step is recompiling? Thanks again everyone for your help!

Posted by Steve_Arm, 04-16-2008, 03:19 PM
I believe it has to do with declaring a NameVirtualHost below VirtualHost domains. Possibly multiple NameVirtualHost declarations. Somethign like that.

Posted by southernerika, 04-16-2008, 03:51 PM
Here's is what is in my conf...does it look alright? NameVirtualHost *:80 SuexecUserGroup "#511" "#513" ServerName domain ServerAlias domain DocumentRoot /home/tiki/public_html ErrorLog /home/tiki/logs/error_log ScriptAlias /cgi-bin/ /home/tiki/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options Indexes IncludesNOEXEC FollowSymLinks allow from all AllowOverride All allow from all LogLevel emerg TransferLog /home/tiki/logs/access_log



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Cold Fusion (Views: 451)
VPS or Reseller (Views: 498)