I have an ASP .NET web app site (ie. www.first.com).
I also have a temporary 2nd ASP .NET web app project.
I want to access 2ND site from the Internet by using somehow the URL of the 1ST web site.
How do I set up IIS to do this?
For example, can I have "www.first.com/second" browse the default.aspx of the 2ND web app project?
For example, can I have "www.first.com/second" browse the default.aspx of the 2ND web app project?
According to your descrition, I suggest you could use virtual directory or IIS nested application to achieve your requirement.
You could add application or virtual directory inside your current application to achieve accessing the second web site by using URL (or IP) of my primary web site.
More details, you could refer to below steps;
1.Open the IIS management console and right click your primary application.
2.Select application or virtual directory and select the web application physical path.
Notice: The difference between add application and add virtual directory is the add application contains its own application pool but virtual directory use primary web application's application pool.
Add application:
Add virtual directory:
Result:
Best Regards,
Brando
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
1) I added Application called "TEST" and chose Default App Pool. is this ok?
You could create a new application pool in IIS and choose it.
doug@soft-factory.com
2) I browsed http://myweb.com/test/ and got:
and nothing happens -- just the browser's spinning circle which never stops.
I suggest you could check the IIS logs to know what happened when you access the site.
Best Regards,
Brando
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
None
0 Points
14 Posts
how to access my temporary second web site by using URL (or IP) of my primary web site
Feb 17, 2019 06:04 PM|doug@soft-factory.com|LINK
I have an ASP .NET web app site (ie. www.first.com).
I also have a temporary 2nd ASP .NET web app project.
I want to access 2ND site from the Internet by using somehow the URL of the 1ST web site.
How do I set up IIS to do this?
For example, can I have "www.first.com/second" browse the default.aspx of the 2ND web app project?
Host is Windows Server 2016 Pro on my Azure VM.
Star
9831 Points
3120 Posts
Re: how to access my temporary second web site by using URL (or IP) of my primary web site
Feb 18, 2019 02:46 AM|Brando ZWZ|LINK
Hi doug@soft-factory.com,
According to your descrition, I suggest you could use virtual directory or IIS nested application to achieve your requirement.
You could add application or virtual directory inside your current application to achieve accessing the second web site by using URL (or IP) of my primary web site.
More details, you could refer to below steps;
1.Open the IIS management console and right click your primary application.
2.Select application or virtual directory and select the web application physical path.
Notice: The difference between add application and add virtual directory is the add application contains its own application pool but virtual directory use primary web application's application pool.
Add application:
Add virtual directory:
Result:
Best Regards,
Brando
None
0 Points
14 Posts
Re: how to access my temporary second web site by using URL (or IP) of my primary web site
Feb 23, 2019 05:56 PM|doug@soft-factory.com|LINK
Hi, Mark.
Couple questions:
1) I added Application called "TEST" and chose Default App Pool. is this ok?
2) I browsed http://myweb.com/test/ and got:
and nothing happens -- just the browser's spinning circle which never stops.
Star
9831 Points
3120 Posts
Re: how to access my temporary second web site by using URL (or IP) of my primary web site
Feb 26, 2019 06:08 AM|Brando ZWZ|LINK
Hi doug@soft-factory.com,
You could create a new application pool in IIS and choose it.
I suggest you could check the IIS logs to know what happened when you access the site.
Best Regards,
Brando