Use IIS to map domain.com/subdomain to subdomain.domain.com without creating new application starting point

I have an asp.net website in the root of the website, i want to create a sub-domain news.domain.com to read from /news folder

This sub-domain should stay on the main site directory and use the application code from the main directory.

and styles stays on the main and javascripts.
roland206Asked:
Who is Participating?
 
RovastarCommented:
Create a new site with the root folder as <web site>/news folder. Have a sepearte web.config for this site pointing to the relevant configs.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.