Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 472565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:06:00+00:00 2026-05-13T00:06:00+00:00

How is it possible to create a subdomain for each registered user of the

  • 0

How is it possible to create a subdomain for each registered user of the web-site during the registration?
For the scenario below…

  1. User opens site.com/register.
  2. Provides details and submits.
  3. Gets redirected to the newuser.site.com straight away
  4. User can work in the newuser.site.com area

I don’t know how to solve the issues:

  1. Create and propagate a subdomain for the user.
  2. Have the single ASP.NET application to handle all subdomains and the main domain.
  3. Configuraton of IIS.

Ideally I would like to stay withing .NET Framework as much as possible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:06:00+00:00Added an answer on May 13, 2026 at 12:06 am

    You might approach it like this:

    1. First, establish a wildcard DNS domain (*) for your site’s IP address. That will allow anystring.yourdomain.com to resolve correctly.
    2. Configure IIS to bind to a dedicated IP address, but not to rely on host headers (have an empty host header). That will cause all HTTP requests for the bound IP to be directed to your site.
    3. Have an HttpModule that looks at the incoming domain (in HttpContext), and rejects it if it’s not valid. You might consider setting a cookie or ticket or something like that, to avoid the need to do a DB lookup for each request in order to validate it.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to send email from user@subdomain.example.com ? (example.com being the custom domain
Possible Duplicate: Create event handler for OnScroll for web browser control I would like
I have the following possible inputs: http://subdomain.domain.com/hello.html http://subdomain.domain.com https://subdomain.domain.com subdomain.domain.com http://domain.com/hello.html http://domain.com https://domain.com domain.com
Is it possible for more than one site to share a cookie or create
I am trying to use the following scenario to create to give registered users
How do I create subdomain like http://user.mywebsite.example ? Do I have to access .htaccess
Is possible create (register) a new class in runtime using delphi. I have a
Is possible create an extension for SQL Management Studio in Visual Studio 2010? Visual
Hi it'd like to know if it's at all possible create a parametric equalizer
Possible Duplicate: Create provisioning profile in iphone application i developed my iphone app and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.