Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

VirtualHosts Wiped Out

Discussion in 'General Discussion' started by luis, Sep 25, 2008.

  1. luis

    luis Well-Known Member

    Sep 3, 2001
    Likes Received:
    Trophy Points:
    A few hours ago I started to receive a bunch of httpd failing emails so I went to SSH to try to restart the service, a few virtualhosts/Ips errors came out so I ran:


    And it only worsened the problem. Apache is now working fine but all virtualhosts are missing except one. Every site hosted (except one) are going to the default server page.

    Running again:


    Didn't help so I went and recompiled apache. The recompiltarion was successful but but it didn't help, the problem was still there.

    So, I went to edit httpd.conf manually adding every virtualhost one by one. After restarting apache everything went back to normal so I ran:

    /usr/local/cpanel/bin/apache_conf_distiller --update

    As per recommendation inside httpd.conf, then I ran build_apache_conf again... well, the changes were not saved, thankfully I saved a copy of the manual entries so I just copy-pasted them again.

    Right now is working but now I'm just waiting for the next httpd.conf wipeout to take place on any cpanel update...

    Any clues?
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend letting our technical analysts take a look at your server. You can do this by submitting a support ticket.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice