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