asp.net mvc - IIS Default Site -


i have iis configuration such [mywebapp] asp.net mvc web app exists under "default web site" of myserver.com.

how configure iis request www.myserver.com displays home page of [mywebapp], without changing url www.myserver.com/mywebapp. url change happens using httpredirect on default web site, not want.

assuming have dns record set maps server ip address domain name, need set new site, rather virtual directory underneath default website. when create site, enter domain name in host name field.

you can test configuration locally first setting site in iis , adding entry in hosts file (c:\windows\system32\drivers\etc\hosts) maps domain name localhost ip address 127.0.0.1 - remember remove once you're happy setup or won't hitting live ip address.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -