Modify Apache Virtual Host for a site in Cpanel Server

On Cpanel server Apache configuration file get recreated every time you modify or add a new web site. In cause you need to modify VirtualHost entry for a web site hosted in cpanel, you should not edit /etc/apache2/conf/httpd.conf file. If you open /etc/apache2/conf/httpd.conf and check virtual host entry for a web site, you will see […]

Read More…


Create a password file

To limit access, add following to Apache virtual host entry.

Create a User – non interactive mode

Changing Password for a user

Apache […]

Read More…