howto fix websites-ehcp

This is a short tut.

If your websites are not accessible, and you can access your ehcp gui at http://yourip/ then, go to ehcp gui-> options -> Fix Apache Configuration without ssl

However, if you are unable to access ehcp gui, try:
go to console of your server, (with ssh etc)
cd /var/www/new/ehcp (your ehcp dir)
php ehcp_fix_apache.php

this will fix apache configuration using non-ssl config.

Additional info:
May be useful, if apache webserver config is broken:
http://stackoverflow.com/questions/5474477/how-to-debug-an-apache-virtua...

In short:
apache2ctl -S

Note that ehcp also supports nginx webserver builtin.

Forums: