Trying to learn "Get" syntax

I have been working from the tutorial program "DnsWebClient.ino" using my new ethernet shield.

The program as written works as expected.

I would now like to retrieve my own website that is hosted by a web hosting site. I can get a 404 message from the site but I have not been able to get at my own site. My latest attempt at the Get statement looks like:

client.println("GET Will and Susan Introduction HTTP/1.1\r\n");

Can someone suggest what the error may be?

Thanks,

WGL

If your web server uses virtual hosting, you will probably need something like this:

client.println("GET /default.html HTTP/1.1");
client.println("Host: home.wglawrence.com");
client.println("Connection: close\r\n");

Hey, That was dead on and worked great. Thanks for your help