Last post Jan 31, 2014 06:31 AM by AidyF
Jan 31, 2014 06:06 AM|Rushdy|LINK
I got 2 web sites is there a way I can
Deploy both on two different sites in IIS and config to access the both from the local host
Site: 1 Accounts
Site: 2 Customer
I do not want to use the default web site as this was already dedicated to use .net 2 for other site.
So I am looking to access both AccountS and Customer sites
Like Eg. //localhost/Accounts
Appreciate your views
Jan 31, 2014 06:18 AM|AidyF|LINK
You'll need to set them up as virtual directories under your default site. Or set them up as;
and amend the hosts file on your local machine so that localhost-customer and localhost-accounts both resolve to 127.0.0.1.
Jan 31, 2014 06:28 AM|Rushdy|LINK
this issue with seting up in default site is the application pool for default site is set to .net2 and all both of my new changes are in .net 4.5 so i do not want to change to application pool setting for default site as this may effect the old stuff with
is already runing in default site.
or is there a way i can create a applicaiton pool for
http://localhost-customer and http://localhost-account ?
appreciate your help
Jan 31, 2014 06:31 AM|AidyF|LINK
For the localhost-customer approach to work, you create a new site entirely, the same way the default site is set up, only you specify "localhost-customer" in the "host name" property for the binding. That way when you go to localhost-customer it knows
to serve up your customer site, and when you just go to localhost it will serve the default site.