I have the following code in my virtual host file:
<VirtualHost 126.96.36.199:80> ServerAdmin email@example.com 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 188.8.131.52 </Directory>
Then i restarted apache. But for some reason, everyone can still see the website. I want only users with IP address 184.108.40.206 to be able to see my site.
What am I doing wrong?