My contemplations and diurnal novelties are publicized here

You might require several subdomain for a specific domain, so you can add them virtually using following technique.

You need to add an A record in your dns setting using your hosting control panel, pointing to the IP of your domain


Now this will always redirect to you root page i.e

Now you can add following lines to your code (Code is C# specific you can change as per your language requirement)

switch (Request.Url.ToString())


case “”:

case “”:

    case “http://”:





Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: