Control Web Panel

WebPanel => How to => Topic started by: Administrator on July 02, 2014, 12:13:09 AM

Title: how to rebuild all apache virtual hosts
Post 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!
Title: Re: how to rebuild all apache virtual hosts
Post by: pixelpadre on May 27, 2016, 10:20:35 PM
Will rebuilding apache vhosts destroy all of my current domains?
Title: Re: how to rebuild all apache virtual hosts
Post by: Sandeep on May 28, 2016, 05:21:43 AM
no
Title: Re: how to rebuild all apache virtual hosts
Post by: semicolon on September 08, 2016, 03:58:57 AM
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
Title: Re: how to rebuild all apache virtual hosts
Post by: Igor S. on September 13, 2016, 08:03:03 AM
Hi,

you can fix the errors manually only.
If you can't do that, contact to CWP support: http://centos-webpanel.com/support-services