500pts: How to Create/Use a virtual subdomain

Would prefer to do this using ASP if it is possible, but have only seen a working exsample using PHP.

That is why I have posted in PHP area.

Question is here:
http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_20928029.html
LVL 10
m8rixAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TheKenmanCommented:
You can do this in the IIS admin MMC (or computer management I think) in administrative tools. Right click your site, choose "new virtual directory" (or new virtual folder), and go from there.

Or are you wanting to accompolish this with script?
0
m8rixAuthor Commented:
I would like to do it using script.

For those who could not be bothered to follow the other link, I would like to emulate this site:
http://santa.clause.swellserver.com/news/top_stories/auto80.php

basically, users can type in whatever subdomains they like and the page will process it.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

m8rixAuthor Commented:
thanks sforcier, but I don't understand your answer. I looked at the links you gave me, but I don't see anything I can use. perhaps a little pointer on where to look.
0
sforcierCommented:
For starters, this stuff can be difficult to understand and I admittedly have a tenative grasp on the subject (at best). That being said, I found a more direct example (not specifically what you need, but if used in conjunction with the references in my last suggestion, it should help):

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/iis/creating_sites_and_virtual_directories_in_iis.asp
0
TheKenmanCommented:
This page will show you how to:

      -Verifying that a virtual directory exists
      -Creating and deleting virtual directories
      -Setting and updating any of the properties on IIS
      -Invoking any of the IIS-specific methods

Site: http://www.15seconds.com/issue/010710.htm

Also of help might be the MSDN Scriptcenter:

     http://www.microsoft.com/technet/scriptcenter

Might look under "Create a Primary DNS Zone", among others.

More scripting help:

     http://www.microsoft.com/technet/community/scriptcenter/scrptfaq.mspx#XSLTsection123121120120

I also HIGHLY recommend the "Script Center Repository", a collection of examples of just about every imaginable ADSI script available (1.6mb):

     http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=b4cb2678-dafb-4e30-b2da-b8814fe2da5a

Cheers,
-Kenman
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TheKenmanCommented:
Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage Software

From novice to tech pro — start learning today.