Difference between creating my asp.net MVC web application ,under the IIS Default web site, or create it as a new web site -


i have published asp.net mvc web application under “default web site” inside iis. added 2 versions of web application:-

  • one directly under default website , can accessed typing http://servername
  • one under presaging path , , can accessed typing http://servername/prestaging

so got confused on approach recommend add asp.net web application, , difference between adding web application under default web site, or creating whole new web site ?

thanks

this has more organization within company's iis structure right , wrong. if site built site on server, putting on default site not looked down upon.

but if application sub application of default site, latter approach more appropriate approach if access site //servername url.

if have separate domain, myapp.servername.com, can install default iis site , add binding or create whole separate web site.

has more structure right or wrong.

edit answer comment, creating site under default web site make url in cases be: 'http://myservername/myapp'. creating own application require (in cases) separate binding address, 'http://myapp.myservername.com' affecting url place in browser , nothing else. more complicated setups possible, cases, these 2 options.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -