I am developing a site in asp.net MVC from which the administrator can create a subdomain of this site with different css and images, but with the same database.
For example, suppose I developed the site www.xyz.com, and the xyz.com administrator wants to create an additional domain, for example, http://sub.xyz.com/
Therefore, when the administrator places the subdomain name, then the application will create a new folder and the whole The code of the main copy of the site in this folder.
So, since asp.net is not open source, then someone can answer me some questions.
- How to manage the assembly link between the primary site and the secondary domain.
- How to register a subdomain at runtime.
- The procedure for changing css and images after the publication of the project.
source
share