Hi,
How to Redirect Website IP Address to 404 Error Not Found ???
I have installed wordpress on my website
If i enter my IP in browser it’s redirecting to My Website
I don’t want someone access my website by entering the IP
I want the IP to redirected to 404 Error Page Not Found
I tried inserting
ServerName $WEBSERVER_IP_ADDRESS UseCanonicalName Off Redirect 403 /in /etc/apache2/sites-available
But Didn’t work
Please Help me…