I have a web app with a site collection at http://portal I want to make a new site collection in this web app but with a host header like demo.portal Is there a demo somewhere on how to do this ? Thank's
you should do the following:
1) edit your hosts file (C:\windows\system32\drivers\etc) and add the following rule:
2) Add a site collection to your host headered webapplication
3) Edit your iis bindings: Add the "demo.portal" binding to the webapplication that your site collection resides in.
4) Disable your local loopback adapter: