title: Is it possible to use custom host headers / bindings with IIS7 Express?
body: <p>I'm trying to configure a new <strong>ASP.NET MVC3</strong> using <strong>IIS7 express</strong> (on my local development machine) to use a <strong>custom domain name</strong>.</p>
  
  <p>eg.</p>
  
  <ol>
  <li>my local dev machine.</li>
  <li>kick open my web browser</li>
  <li>goto <a href="http://dev.www.mydomain.com" rel="noreferrer">http://dev.www.mydomain.com</a></li>
  <li>my visual studio mvc project kicks in</li>
  </ol>
  
  <p>I've hacked my hosts file to include (yes, i saved the file .. which also meant i had to have admin rights enabled ...</p>
  
  <pre><code>127.0.0.1 dev.www.mydomain.com
  </code></pre>
  
  <p>I just can't figure out how to use IIS7 express to get configured to do this.</p>
  
  <p>I went to <code>MVC Project =&gt; Properties =&gt; Web</code> and did the following :-
  <img src="https://i.stack.imgur.com/PrqDX.png" alt="enter image description here"></p>
  
  <p>Then tried to run the site...
  <img src="https://i.stack.imgur.com/r5oJU.png" alt="enter image description here"></p>
  
  <p>Can anyone help?</p>