Pankaj Mishra
Pankaj Mishra

Reputation: 20348

How to create subdomain dynamically for Asp.net application?

I am making clone of 1 and 1 my business site where it creates sub domain for every customer. After registration it creates sub domain URL for every user according to the customer id like "http://s301488216.initial-website.co.uk/". And i have no idea that how to create subdomain dynamically. Or do i need any special folder structure for this.

Upvotes: 2

Views: 875

Answers (1)

Fredrik Mörk
Fredrik Mörk

Reputation: 158289

Sub domains have nothing to do with asp.net; this is a DNS trick. So that is something you need to work out with whoever is managing the DNS servers for your domain.

Upvotes: 1

Related Questions