Forum Moderators: phranque
Listen 80
NameVirtualHost *:80
<Virtualhost *:80>
Servername Domain.com
Aliasname ....
Admin ......
</virtualhost>
and many other.
Some of them use shared ssl cert with *:443.
Now I want put separate public IP for ssl certs and domains.
When I change to test configuration with one public ip:
NameVirtualHost Public_IP:80
<Virtualhost Public_IP:80>
ServerName Domain.com
..
</virtualhost>
And try connect to server virtual domains, I got always first main server domain.
In the near future I will put load balancing I cannot use private IP in virtual hosts (<Virtualhost Private_IP Public_IP>.
What can cause this situation? Firewall with NAT? Or not correct conf for virtual domain.
I tried configuration on test local server (without NAT) and everything works, so it seems that the problem is caused by virtual host NAT settings or NAT firewall.
Regards,
Hans
Regards,
Hans