Host 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
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
All you need to do is to create a new web application inside the existing web apps, https://www.mydomain/ClientApp. This is done by creating a new virtual directory / application

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.
yadavdepAuthor Commented:

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
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Was there any error logged in the Application/System Event logs?

Check the URL below to troubleshoot
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

yadavdepAuthor Commented:
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?
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Yes, it's possible to assign different application pool.

Check the configuration of the existing app pool and configure the new app pool the same way.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
yadavdepAuthor Commented:
Thanks for helping me out here.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.