View Single Post
Old 05-11-2007, 04:40 PM   #1
sneskid
Newbie
 
Join Date: May 2007
Posts: 2
sneskid is on a distinguished road
Unhappy Shared IP hosting question

I've read up on 'Shared IP hosting' from several places (ex wikipedia) but they only provided limited information.

I've asked this question in several other places, but never get a response. Maybe I'm just not phrasing it right... I'll try again.

----

I understand with Shared IP Hosting there are many domains under the same IP address (typically same server). To access a specific domain the client must send extra info either using headers or as part of the request URL.

I've seen it done before my eyes, but I am no longer in contact with the person that did it.

The reason I want to know:
I work a lot with PHP/Flash/Javascript and was looking for a way to bypass the DNS lookup, which should speed up the requests.

The client does a DNS lookup when the URL is in the form of "http://www.example.com" to figure out the IP address of the server. I don't know if that info is cached, and I'd rather not chance it.

If my script already knows the IP address of the server I should be able to bypass the lookup with something like:
"http://11.22.33.44/?host=example"
or
"http://11.22.33.44/" + headers: "host=example\r\n"
My domain is on a shared IP hosting server, and I do not know what info to include, or where, in order to achieve this bypass.

My hosting company is called "ThePlanet.com Internet Services, Inc.". Is there 1 standard way that Shared IP Hosting works or should I ask the admins at ThePlanet how to achieve what I talked about?

---

Hope this post made sense.

Thanks for any help.
sneskid is offline   Reply With Quote