c# - How can I create a subdomain in asp.net? -


How do I create a subdomain in an asp.net c # application? I am working with an ASP.NET portal that portal should be able to create subdomains on runtime. For that subdomain, the feet should also be the same as the main domain.

There are some handfuls here part of the work portions. It seems like the requirement that these are all on runtime, I am sure many web hosting providers are deep in these sets of problems and are probably the custom solutions.

DNS : You will need to open an API on DNS host. If this is a LAN environment, then you have to check your DNS provider whether they have an API exposed. (I.e. Windows Server or whatever your network operating system is) If this is a public facing site that needs access to the internet, you will need to get those APIs from the DNS registrar. Are subdomains permanent?

IIS : You have to set up wildcard mapping, (i.e. * .mydomain.net). When an HTTP request arrives, logic within the ASP.Net page can determine the subdomain you are working with. You can remove the subdomain, more information (customer ID, name, valid visitor IP address category, WhatsApp):

FTP : If you want secure login for that subdomain, You must have created AD or local machine accounts for those users. If you want unknown access, then it is also fine. There are some scripting options that you will also need to see as an FTP folder setup. It is assuming that you are using IIS's FTP module. If you are using a third party FTP application, which extends the scenario even further

Active Directory : If you need secure access to each subdomain , Then you have to create AD user and / or group. You can definitely create scripts in groups of users. Perhaps users will be local to your web server if you want to add another web server, it does not cure well, but it is definitely capable.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -