Site tip: Bad Request (Invalid Hostname) error analysis

Source: Internet
Author: User

Site access error Bad Request (Invalid Hostname), as shown below:


Analysis:

"Bad Request (Invalid Hostname)" is the literal translation of "wrong requests (invalid hostname)", a IIS6 error hint. That is, the domain name has been resolved, but cannot find the host corresponding to the domain name.

So you can determine that this problem is related to the binding of domain names.

This prompts for the following situations and solutions:

 If you are using a stand-alone system of servers or VPS, then generally the correct way to bind the domain name in IIS after the error can be resolved, if the domain name after binding, the server may have more than one IP address, the domain name corresponding to the IP binding error, If you cannot confirm that you can set the domain name binding to "All Unassigned"

Specific steps:iis> Default Web Site > > Properties > > Website > > IP address: (All Unassigned) > > Advanced, there is a host header value , check whether this domain name is bound. And check that this IIS site is turned on correctly.

If you are using the virtual host , then please login to your Space Control Panel, check the status of the host, see if the site is running, if because there is no record, or more than resource access caused the site to stop will appear this error, including the domain name binding settings whether there is the domain name.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.