sushanth k

sushanth k

  • NA
  • 10
  • 9.1k

How to create a sub domain programmatically in asp.net

Feb 2 2012 4:09 AM
Hi,

      I have a requirement like I just want to create a sub domain programmatically without using control panel.Now I have a registration form when the user creates an account ,based on his username I need to create a sub domain programatically for example my site url is http://www.example.com and after his successful registration he is going to get an url like this http://www.username.example.com .
                             How is it possible in .net can anybody help me to solve this problem.

Thanks in advance.