Web Hosting Talk







View Full Version : Shared ip`s


Softerweb
04-25-2001, 06:25 PM
Hi

I have been experiencing some strange results when testing my Raq, using several virtual sites on the same ip. Like subdomains redirecting to other subdomains on the same ip, and php`s include function not working when referring to the domain via "http".
I don`t know if you have heard of anything like this. Might be I am doing something wrong.

My main question is about something else, when I enter a shared ip in my browser, where should I be directed?
I thought it would be a default Raq page, but I am directed to one of the virual sites. Does the Raq randomly pick the site for you to be sent to? Or is it the first site created on the shared ip?

Wazup

SI-Chris
04-25-2001, 07:27 PM
Someone correct me if I'm wrong, but I don't think PHP's include() function works with an http address; it has to be a virtual path on the server--as in: include(/home/sites/site9/web/hello.htm);

As for entering an IP# and it going to a virtual site, I believe it will go to whatever virtual site was created first using that IP#.

Domenico
04-25-2001, 08:02 PM
Yup, most of the time that is your own server like ws1.yourservername.com or whatever.

Just redirect it to your webhosting page ;-)

Softerweb
04-26-2001, 01:02 PM
Yes, that is just what happens, the ip directs to the first virtual site created on the ip.

As for the include function, it does work when using server paths, but not when referring to the domain via http.

Wazup