I've set up a site within IIS with default settings. I consitently get "Bad Request (Invalid Hostname). I get it from a client, or even while browsing from IE on the server.
Can anyone point me in the right direction?
Thanks
I've set up a site within IIS with default settings. I consitently get "Bad Request (Invalid Hostname). I get it from a client, or even while browsing from IE on the server.
Can anyone point me in the right direction?
Thanks
IIS gives that error when it cannot find a web site in its settings configured with the IP address and hostname combination you used to connect. It's possible that the web site was configured with a specific IP and hostname, but the hostname you're using to connect is different (i.e. example.com vs. www.example.com). If the web site has a dedicated IP address on the server you can edit the configuration to use the IP only without a specific hostname and it will answer any requests on that IP. If the IP is shared you will need to configure all of the hostnames that can be used to access the site.
Do you have host headers configured on the web site? Is the server dual-homed?
Well, I re-imaged my VPS, and started my setup process again. I was more cautious to watch for when things went awry. Turns out, it was my PHP installation. Doh!
Thanks for the help, thought I would close this out.