• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 433
  • Last Modified:

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.
1 Solution
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.


Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now