Control Web Panel
WebPanel => How to => Topic started by: Administrator on July 02, 2014, 12:13:09 AM
-
how to rebuild all apache virtual hosts at once?
1. Edit Apache vHosts Template according to your needs (default is fine) | Path: Apache Settings --> Apache vHosts Template
2. Check your server shared ip and apache port which you want to use. | Path CWP Settings --> Edit Settings
3. go to menu Apache Settings --> Rebuild Apache vHosts , check all details and click on "Rebuild All Apache vHosts" button.
once all is done check output and if apache started without any errors.
that is it!
-
Will rebuilding apache vhosts destroy all of my current domains?
-
no
-
Can i rebuild all vhost from ssh ?
because i have this error
Starting httpd: Warning: DocumentRoot [/home/theman/public_html] does not exist
httpd: bad user name theman
and i can't get into CWP dashboard
-
Hi,
you can fix the errors manually only.
If you can't do that, contact to CWP support: http://centos-webpanel.com/support-services