yadavdep
asked on
Host Asp.net web application on windows server 2012
I had a web application (ClientApp) which I hosted on my client's windows server 2012 and it takes port 80 and 443 (SSL).
It can be access by https://www.mydomain/ClientApp URL
Now he made me create a new application and wanted to host on the same server.
It should be access by https://www.mydomain/ClipDealers URL
I need to know on IIS do I need to create a new web site or I need create a new web application inside the existing ClientApp web site?
As ClientApp has already taken port 80 and 443
It can be access by https://www.mydomain/ClientApp URL
Now he made me create a new application and wanted to host on the same server.
It should be access by https://www.mydomain/ClipDealers URL
I need to know on IIS do I need to create a new web site or I need create a new web application inside the existing ClientApp web site?
As ClientApp has already taken port 80 and 443
ASKER
Emmanuel,
I did as you said but when I browse the site I got 500 internal server error.
Please note this new application has its own config file as it is a separate application
I did as you said but when I browse the site I got 500 internal server error.
Please note this new application has its own config file as it is a separate application
Was there any error logged in the Application/System Event logs?
Check the URL below to troubleshoot
https://support.microsoft.com/en-us/kb/942031
Check the URL below to troubleshoot
https://support.microsoft.com/en-us/kb/942031
ASKER
I noticed the error was coming because I had assigned a new application pool my new web application.
When I used the same which I was using for the older one, the new application started working.
But still is it possible to use a different application pool for my new application?
When I used the same which I was using for the older one, the new application started working.
But still is it possible to use a different application pool for my new application?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for helping me out here.
Open the IIS Manager by selecting Control Panel > Administrative Tools > Internet Information Services (IIS) Manager
"Right click" on the ClientApp Web Site node/branch and select Add application from the pop-up menu. The properties for a new application will be displayed. Enter the information needed to complete the task.