0 Replies Latest reply on May 9, 2007 2:05 PM by sneskid

    name-based virtual hosting & XMLSocket

    sneskid Level 1
      I'm trying to create a script using the XMLSocket object to connect to a "name-based virtual hosting" / "shared IP hosting" server.

      Instead of using the domain name (www.example.com), I want to directly use the server IP address (which will bypass the DNS lookup and speed up the request).

      I do not know how to include header info to specify the "hostname" or what kind of headers to use. I've had limited help from wikipedia about the topic, it only lets me know I need to use headers.

      Help, thanks.