Brett Parker wrote:
Well, the hostname is part of the HTTP/1.1 spec, it doesn't exist in HTTP/1.0 and so it's the right way round to think of it ;)
Fair point!
My normal (non-scripted) workaround would be to add an entry to my hosts file, which is why I came at it from that angle. Very easy not to stand back from something and see the whole picture!