Apache virtualhost with 2 ip's
I have Apache 2.2.14 on Suse linux 10.3.
That's is ok, and works fine.
Now come's the problem, i have 2 ip addresses, and 2 domains.
Now must Apache listen on the first ip, for the first domain.
And the second ip for the second domain.
But, if i go to the second domain in my browser i will come on the first domain out.
This is my httpd-vhosts
When i both IP addresses replace with a wilcard (*) , then it's will works fine.
Can any one my help me?
I don't see what i did wrong...
you should uncomment the following line.
This is the line that allows for multiple domains to be hosted on the same port...
I think i have found the solution...
This is now the httpd-vhosts.conf
192.168.100.210 shows now the first site, and is the default, all other sites (that not defined is in the config) goes to the first site
192.168.100.211 shows now the second site.
|All times are GMT -5. The time now is 05:31 PM.|