ASP.NET MVC / IIS 7: Creating Dynamic Websites (Subdomains) with a Click of a Button

I am working on a community forum script and I want to give everyone the opportunity to create their own community forum for free.

So let's say I have the following domain:

www.forum.com

Bob wants to create his own forum, he subscribes, selects a username ("bob") and instantly gets his forum: bob.forum.com

There are things that need to be created automatically:

  • New subdomain
  • New IIS Site
  • New database

And I want to use the same script (bin dll and .aspx files). Of course, I would like to update them right away, because if I have 100 subforums, it will be a pain in the butt to update all 100 scripts manually.

I know this is pretty complicated, but I really need to really .

, .

!

+3
1

- IIS, URL-, , -, ?

+2

Source: https://habr.com/ru/post/1759677/


All Articles