We are aware of a potentially service impacting issue. Learn more

When I restart apache I get Virtualhost errors? Print

  • VirtualHost, apache, cPanel, httpd.conf, rebuildhttpdconf
  • 0

When you restart apache on a cPanel server you may get Virtualhost errors, yet it still appears to work? Heres an easy method which may fix it.

First backup your current httpd configuration:

cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.backup

Now run /scripts/rebuildhttpdconf

Should be fixed, if not, you can restore the backup you made.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution