Report this

What is the reason for this report?

how to disable direct visiting on website with its server IP address with both http://1.2.3.4 and https://1.2.3.4

Posted on March 21, 2020

We can disable direct visiting on website with its server IP address with below method —>

ServerName 1.2.3.4         
ServerAdmin webmaster@localhost         
DocumentRoot /var/www/html          
<Location />                 
Order Allow,Deny                 
Deny from All         
</Location>  

but it can still visit-able with https://1.2.3.4… . Can any one please tell how to prevent visits with http://1.2.3.4 and https://1.2.3.4

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.