Showing posts with label virtual host. Show all posts
Showing posts with label virtual host. Show all posts

Wednesday, February 22, 2012

Allow Website from Fix IPs in Apache

Add this to the directory configuration in virtualhost:

Order Deny, Allow
Deny from All
Allow from 110.70.55.154 10.0.0. 173.0.82.126 127.0.0.1

Disable Apache Server Signature

Add ServerSignature Off to virtualhost configuration. Restart Apache.

Monday, October 24, 2011

Enable Virtual Host Site

Enable: a2ensite mysiteavailable-site
Disable: a2dissite mysiteavailable-site