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.