I'm with Peter on security and best practice, but you should be able to hook
into the scripting COM object (WSH), find the vbs script (buried somewhere
in system32) that does the IIS stuff and basically pass the same lines of
code through in C#.
"vtxr1300" <ca********@hotmail.comwrote in message
news:11**********************@s13g2000cwa.googlegr oups.com...
>I have a web site that allows users to register. When they register,
I'd like to create a subdomain that points to their profile page. Does
anyone know how to do this in IIS through a c# asp.net page? Thanks.