ispCP - Board - Support
Apache Virtual Host - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Apache Virtual Host (/thread-15732.html)



Apache Virtual Host - pcangel - 01-15-2012 10:49 PM

How can I manually add virtual host? Does anyone have any idea


RE: Apache Virtual Host - fair - 01-18-2012 03:58 AM

That is very simply

Code:
touch /etc/apache2/sites-available/manualsite
now you must define virtual host. Example you have in cat /etc/apache/sites-available/ispcp.conf
Code:
vi /etc/apache2/sites-available/manualsite
after save you must active new file
Code:
a2ensite manualsite
/etc/init.d/apache reload