How to change IP access from web browesr having vHosts?
Hi, I need some help here. I’m using CentOS 6.8 and Apache. I have two working virtual hosts already set and everything is working fine but if I enter the IP of my droplet in the web browser it access one of the two virtual hosts (I believe this is because somewhere this is set by default). The folder for the documents are set like this “/var/www/html/domain1.com/publichtml/” and “/var/www/html/domain2.com/publichtml”. I want, if possible, to change or redirect the access through the IP so that it does nothing, I mean, I can access to phpmyadmin (only allowed from my home computer) using the droplet’s IP but I want that if I enter just the IP, don’t show anything.
Thanks a lot in advance