Hi,
I must be doing something wrong here, because it doesn't work at all. I've appointed 2 IP's to a (fictional) hostname and tried to communicate with apache with telnet, but I didn't get a proper responds.
At the admin level I added a new IP with the IP manager and I assigned it to admin. At the reseller level I shared it. After that I modified a user and added the IP as additional IP to the user.
The IP manager now says it has 1 user at that IP.
I then telneted to the ip's and
Using the same command
GET /index.html HTTP/1.1
host: www.test.cat
On the first IP, I get the normal responds, I get the contents of index.html. On the second IP, I get
"This IP is being shared among many domains.
To view the domain you are looking for, simply enter the domain name in the location bar of your web browser."
So I went looking in the config files of the user, and I noticed that the httpd.conf doesn't have a VirtualHost directive with the second IP in it. The only file with an entry of the second ip is the user_ip.list.
Am I doing something wrong here?
Rogier
I must be doing something wrong here, because it doesn't work at all. I've appointed 2 IP's to a (fictional) hostname and tried to communicate with apache with telnet, but I didn't get a proper responds.
At the admin level I added a new IP with the IP manager and I assigned it to admin. At the reseller level I shared it. After that I modified a user and added the IP as additional IP to the user.
The IP manager now says it has 1 user at that IP.
I then telneted to the ip's and
Using the same command
GET /index.html HTTP/1.1
host: www.test.cat
On the first IP, I get the normal responds, I get the contents of index.html. On the second IP, I get
"This IP is being shared among many domains.
To view the domain you are looking for, simply enter the domain name in the location bar of your web browser."
So I went looking in the config files of the user, and I noticed that the httpd.conf doesn't have a VirtualHost directive with the second IP in it. The only file with an entry of the second ip is the user_ip.list.
Am I doing something wrong here?
Rogier