Two virtual host one with Domain name one with internal ip#?
- by Abhishek
Is it possible to have two virtual host configurations for the same server - one with internal ip address and one with domain name? Something like
<VirtualHost {{internal-ipaddress}}:80>
.......
</VirtualHost>
<VirtualHost {{domain-name}}:80>
.......
</VirtualHost>
Note that the internal IP address and the domain name belong to the same server or same server instance.
I am asking this to restrict some URLs for external users, redirect to https all external access and allow everything for internal users(without https)..