In that case, check out my answer in your other post about this subject.
You need a few things to make this work:
1. A * record for your domain pointing to your server.
You can check this by pinging to DoesNotExist.YourDomain.com. If you get a reply from the IP address that is used by your main
www.YourDomain.com account, you have a * record.
2. Permission to programmatically access the IIS metabase.
Using ADSI you can program against IIS and create new sites and add host headers on the fly. I gave you a few links to ADSI documentation that you should read to understand how this works.
Note that on a shared server, you probably don't have permissions to do this. In that case, only your ISP can create new sites and sub domains.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.