BlackBloods

Member
Jul 25, 2014
7
0
1
cPanel Access Level
Root Administrator
hi guys,
when i try to restart httpd [ service httpd restart] i am getting this error:- [warn] NameVirtualHost ip:80 has no VirtualHosts

someone plz tell me how to fix this error :(
 

KurtN.

Well-Known Member
Jan 29, 2013
95
1
83
cPanel Access Level
Root Administrator
Do you have multiple IPs assigned to your server? If so, that might happen if you haven't assigned any virtual hosts to the other IP.
 

KurtN.

Well-Known Member
Jan 29, 2013
95
1
83
cPanel Access Level
Root Administrator
It's a harmless warning (not error), and is simply stating that all of your virtual hosts are on the other IP address, and that there are none assigned to the other.

If the warning bothers you even after knowing what it means, you can remove the IP from your WHM configuration. Or, the next time you assign a new virtual host to your server, consider placing it on the other IP. Either way, the warning message will go away.