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.
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.
configiis
I'm afraid I no longer use this forum due to the new point allocation system.
Member
32 Points
114 Posts
Deploy two sites and access with same url
Jan 31, 2014 06:06 AM|Rushdy|LINK
Hello there
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
Eg.
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
Appreciate your views
config iis
All-Star
37441 Points
9076 Posts
Re: Deploy two sites and access with same url
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;
http://localhost-customer
http://localhost-accounts
and amend the hosts file on your local machine so that localhost-customer and localhost-accounts both resolve to 127.0.0.1.
config iis
Member
32 Points
114 Posts
Re: Deploy two sites and access with same url
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
config iis
All-Star
37441 Points
9076 Posts
Re: Deploy two sites and access with same url
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.
config iis