I have the following code in my virtual host file:
<VirtualHost 188.8.131.52:80> ServerAdmin firstname.lastname@example.org ServerName mysite.com DocumentRoot /var/www/mysite.com/public_html/ ErrorLog /var/www/mysite.com/logs/error.log CustomLog /var/www/mysite.com/logs/access.log combined <Directory /var/www/mysite.com> order deny,allow deny from all allow from 184.108.40.206 </Directory>
Then i restarted apache. But for some reason, everyone can still see the website. I want only users with IP address 220.127.116.11 to be able to see my site.
What am I doing wrong?