Recreate/Regenerate vhost config in cpanel for one account

Posted by Gabriel on Server Fault See other posts from Server Fault or by Gabriel
Published on 2012-07-07T21:28:30Z Indexed on 2012/07/08 9:17 UTC
Read the original article Hit count: 234

Filed under:

So my boss as allways was messing with cpanel on our production server (we only have production servers, which is bad enough)... so now all of the accounts is pointing to the default apache page in /usr/local/apache/htdocs instead of /home/useracc/public_html.

Is there a way how to tell cpanel/WHM to recreate the vhost configuration of the account from scratch?

the account has a database and emails associated with them so before i do anything i don't want to mess anything up with cpanel.

© Server Fault or respective owner

Related posts about cpanel