title: How to change IP address to host name in IIS server?
body: <p>I have hosted my .Net project in IIS server and now I have the IP address.I want to change it to host name and I have already tried following steps </p>
  
  <blockquote>
    <p>1) Add the Host Name in site bindings according to my existing IP address in IIS server</p>
    
    <p>2) Do changes in host file(C:\Windows\System32\drivers\etc) according to the added host name</p>
  </blockquote>
  
  <p>But I am getting following error when I navigate host name in browser</p>
  
  <blockquote>
    <p>Bad Request - Invalid Hostname HTTP Error 400. The request hostname is
    invalid.</p>
  </blockquote>
  
  <p>What is the solution for this problem ??</p>