title: ASP .NET Core 2.0 Change "localhost" to a "hostname"
body: <p>I have a Web App written based on MVC framework. It runs really well on the localhost and default port 51290. Now I need to run it using my domain name e.g. myhostname. What I have tried is to add a line in "applicationhost.config"  section: </p>
  
  <pre><code>            &lt;binding protocol="http" bindingInformation="*:80:myhostname" /&gt;
  </code></pre>
  
  <p>When I press Ctr+F5, I got an error msg saying port 80 is in use. </p>
  
  <p>The server is IIS express.</p>
  
  <p>Can someone please instruct how should I run this App using host name? Thanks.</p>