Using in place of

Posted on 2007-10-09
Last Modified: 2011-09-20
I have a client with a web site that he needs to allow his clients a more "customized" look and feel.  For example, his clients can log in to his site and access their data at

BUT, he wants to give them a more personalized look (in part because these clients will be offering access to their portion of the web site to their clients.  So what he wants is some AUTOMATED way to to respond synonymously with

Now my understanding of the technology (using ASP.NET and IIS 6) is that the only way to do this would be to give each client a DNS record and then check the header to see which client's data should be accessed.  But is there any other way?  Or any way to script the creation of the DNS record?  (They don't currently manage their own DNS on their server, but they could).

(I'm asking this on several sites as I need to ensure the broadest possible range of answers - but any answer I get that's not from here I'll post back for your information).
Question by:Lee W, MVP
    LVL 25

    Expert Comment

    First you will have to add * pointer in your DNS for your domain so that * redirect to the main page of your web site. I recommend creating a domain such as * So lets say you have configured your domain and when user type it will go to your default.aspx page. In default.aspx page you can parse the URL, retrieve the user information and then either redirect the user to or perform some other operation.

    HTH, Nauman.
    LVL 95

    Author Comment

    by:Lee W, MVP
    That just may help... can you link to any examples documenting this?  Specifically, adding the * record and what type of record it is?
    LVL 25

    Accepted Solution

    If your domain DNS is being managed by some registrar such as, you can use their dmain mnagement tool and add the domain in the form of * and specify the IP address where it should point to. If you have a DNS administrator, you will have to contact him to make this change.

    LVL 95

    Author Comment

    by:Lee W, MVP
    We have access to edit our own DNS and at worst, we should be able to contact that DNS host on how exactly to set this up.  But assume for the moment we are running MS DNS - how would this be setup?

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Introduction (All good things must come to an end ( The original MySQL API ( has gone away, deprecated by PHP in Version 5.5, and removed from PHP in all curre…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
    Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now