Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

500pts: How to Create/Use a virtual subdomain

Posted on 2004-03-22
7
Medium Priority
?
532 Views
Last Modified: 2013-11-15
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
0
Comment
Question by:m8rix
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 7

Assisted Solution

by:TheKenman
TheKenman earned 600 total points
ID: 10654330
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
 
LVL 10

Author Comment

by:m8rix
ID: 10654375
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
 
LVL 6

Assisted Solution

by:sforcier
sforcier earned 400 total points
ID: 10659705
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 10

Author Comment

by:m8rix
ID: 10661920
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
 
LVL 6

Assisted Solution

by:sforcier
sforcier earned 400 total points
ID: 10661965
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
 
LVL 7

Accepted Solution

by:
TheKenman earned 600 total points
ID: 10662686
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
 
LVL 7

Expert Comment

by:TheKenman
ID: 11095338
Thanks!
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

705 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