Creating New Virtual Directories

 < Day Day Up > 

If you want to create a new Web site or a series of Web pages on the internal network, the best way to do this is to create a new virtual directory in Internet Information Services. A virtual directory is a directory name or alias that corresponds to a physical directory on the server. Virtual directories appear as subfolders on a Web site but in reality can point to a folder located anywhere on the network.

start sidebar
Real World

Creating New Web Sites

It’s usually more convenient to create new virtual directories in an existing site such as the Windows SharePoint Services site (http://companyweb) or the Default Web Site instead of creating a completely new site in IIS. Creating new sites requires managing host headers as well as manually adding alias (CNAME) records to the DNS reverse lookup zone, which is a nuisance and unnecessary for most small businesses. If you need to create a new site, right-click the Web Sites container in the Internet Information Services console, choose New, Web Site from the shortcut menu to start the Web Site Creation Wizard—just remember to create the alias record in DNS corresponding to the Web site’s host header.

end sidebar

To create a new virtual directory, complete the following steps:

  1. Open the Server Management console, expand the Advanced Management container, and then expand Internet Information Services.

  2. Expand the SBSSRV (local computer) container (assuming your server is named SBSSRV), and select the Web Sites container (Figure 18-1).

  3. In the details pane, right-click Default Web Site, and choose New, Virtual Directory from the shortcut menu. The Virtual Directory Creation Wizard appears.

    click to expand
    Figure 18-1: The Server Management console showing the Web Sites container.


    You can also publish from Microsoft FrontPage directly into a new virtual directory without first creating the directory in IIS if you publish with a user account that has the appropriate permissions.

  4. On the first page of the Virtual Directory Creation Wizard, click Next.

  5. On the Virtual Directory Alias page, type a folder name and then click Next.

  6. On the Web Site Content Directory page, specify the path to the real folder that will contain the Web site content (for example, c:\inetpub \training), and then click Next.


    Placing content in a subfolder of the c:\inetpub folder is usually the most convenient approach because this folder already has the proper NTFS permissions applied to it, and the Windows Small Business Server default and http://companyweb sites are located here as well.

  7. On the Virtual Directory Access Permissions page, clear the Run Scripts check box (unless you plan on using scripts or dynamic Web pages in the virtual directory). Click Next and then click Finish.

 < Day Day Up > 

Microsoft Windows Small Business Server 2003 Administrator's Companion
Microsoft Windows Small Business Server 2003 Administrators Companion (Pro-Administrators Companion)
ISBN: 0735620202
EAN: 2147483647
Year: 2004
Pages: 224

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: