live-chat
Server Intellect
(855) 850-HOST

Toll Free 24/7/365        (4678)

Intellect Connect

Technical problem with your Windows Hosting?

Let our Microsoft Certified experts handle the problem for you.
Chat Now

How do I Fix a “Bad Request (Invalid Hostname)” Error on a Webpage using IIS?

Typically when a web site is displaying the follow error it means that the site is not listening on the correct IP or the host headers are missing. Bad Request (Invalid Hostname) To access the host headers and address issues for a site follow these steps. Start by logging into the web server where the site is hosted. Now open up IIS Manager. Expand the web sites folder to display all of the sites in the right hand frame. Now right click on the domain name and select “Properties”. The default tab is the Web Site tab, click the Advanced button next to the IP address. This will display all the host headers for the site. Click the “add” button to add a host header to the site. In this example we are going to add a www host header since it is missing. Now select the same IP address as the domain is running on enter port 80 and input the www version of the domain name. Click Ok three times and the host header should be successfully added.

Interested in letting our experts solve your IT problems for you?
Get a free, no-obligations consultation with one of our experts today!

Call us at (855) 850-HOST

Chat Now
X

This form does not accept free e-mail accounts. Please enter a business e-mail to submit it.

Submit Form Cancel

Please wait...

Submitting your info. This may take less than a minute.