Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to create differetnt subdomains through ASP.NET C# ?

How to create differetnt subdomains through ASP.NET C# ?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netcomtutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    King Shez
    wrote on last edited by
    #1

    HI Can any one let me know, how to create different subdomains using ASP.NET C#, e.g if My URL is www.Mydomain.com if any user gets registered then the users own subdomain get created e.g. www.UserName.MyDomain.com, can any one let me know how to do it , can any one provide me any code snippet, thanks in advance, regards, Tippu

    C 1 Reply Last reply
    0
    • K King Shez

      HI Can any one let me know, how to create different subdomains using ASP.NET C#, e.g if My URL is www.Mydomain.com if any user gets registered then the users own subdomain get created e.g. www.UserName.MyDomain.com, can any one let me know how to do it , can any one provide me any code snippet, thanks in advance, regards, Tippu

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The only code that could do this, is URL rewriting. Look at HTTP handlers.

      Christian Graus Driven to the arms of OSX by Vista.

      K 1 Reply Last reply
      0
      • C Christian Graus

        The only code that could do this, is URL rewriting. Look at HTTP handlers.

        Christian Graus Driven to the arms of OSX by Vista.

        K Offline
        K Offline
        King Shez
        wrote on last edited by
        #3

        Can you send me any code?

        C Y 2 Replies Last reply
        0
        • K King Shez

          Can you send me any code?

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          No, I can't. I know that ASP.NET as it's typically used, plainly can't change a URL. URL rewriting can, and I know where to look for that info in ASP.NET. That's why my reply was tentative. I've not done it, I just know enough about ASP.NET to know where I'd look, so I gave you some keywords to type into google. Good luck.

          Christian Graus Driven to the arms of OSX by Vista.

          1 Reply Last reply
          0
          • K King Shez

            Can you send me any code?

            Y Offline
            Y Offline
            Yusuf
            wrote on last edited by
            #5

            How about you read about this and write an artice with source code?

            Yusuf

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups