Two virtual host one with Domain name one with internal ip#?
Posted
by
Abhishek
on Server Fault
See other posts from Server Fault
or by Abhishek
Published on 2012-03-21T11:27:47Z
Indexed on
2012/03/21
11:31 UTC
Read the original article
Hit count: 221
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)..
© Server Fault or respective owner