• Home
  • Cloud VPS
    • Hong Kong VPS
    • US VPS
  • Dedicated Servers
    • Hong Kong Servers
    • US Servers
    • Singapore Servers
    • Japan Servers
  • Company
    • Contact Us
    • Blog
logo logo
  • Home
  • Cloud VPS
    • Hong Kong VPS
    • US VPS
  • Dedicated Servers
    • Hong Kong Servers
    • US Servers
    • Singapore Servers
    • Japan Servers
  • Company
    • Contact Us
    • Blog
ENEN
  • 简体简体
  • 繁體繁體
Client Area

IIS for Newbie: Create a virtual directory

December 18, 2023

IIS for Newbie: Create a Virtual Directory

Internet Information Services (IIS) is a web server software developed by Microsoft that allows you to host websites and applications on Windows servers. One of the key features of IIS is the ability to create virtual directories, which are folders that are not located in the web server’s root directory but can be accessed through a URL. In this article, we will guide you through the process of creating a virtual directory in IIS.

Step 1: Open IIS Manager

To begin, open the Internet Information Services (IIS) Manager on your Windows server. You can do this by searching for “IIS Manager” in the Start menu or by typing “inetmgr” in the Run dialog box.

Step 2: Select the Website

In the IIS Manager, expand the server node and then expand the “Sites” folder. Locate the website where you want to create the virtual directory and select it.

Step 3: Add a Virtual Directory

Right-click on the selected website and choose “Add Virtual Directory” from the context menu. This will open the “Add Virtual Directory” dialog box.

Step 4: Configure the Virtual Directory

In the “Add Virtual Directory” dialog box, you need to provide the following information:

  • Alias: Enter a name for the virtual directory. This is the name that will be used in the URL to access the virtual directory.
  • Physical path: Specify the physical path to the folder that you want to make a virtual directory. You can either type the path directly or click on the “Browse” button to locate the folder.

Once you have entered the required information, click on the “OK” button to create the virtual directory.

Step 5: Test the Virtual Directory

Now that you have created the virtual directory, you can test it by accessing it through a web browser. Open your preferred web browser and enter the URL in the following format:

http://yourdomain.com/alias

Replace “yourdomain.com” with your actual domain name and “alias” with the name you specified for the virtual directory. If everything is configured correctly, you should be able to access the contents of the virtual directory.

Summary

Creating a virtual directory in IIS allows you to organize your website’s content in a structured manner and provide access to folders outside of the web server’s root directory. By following the steps outlined in this article, you can easily create a virtual directory in IIS and start leveraging its benefits.

For more information about VPS hosting and how it can enhance your website’s performance and security, consider exploring Server.HK. With their top-notch VPS solutions, you can take your website to the next level.

Recent Posts

  • How to Set Up Nginx on CentOS Stream for High-Performance Web Hosting
  • CentOS Stream Explained: Key Differences from CentOS Linux
  • How to Configure FirewallD in CentOS Stream: From Essential to Production-Grade
  • Installing Docker on CentOS: A Practical Setup Guide (CentOS Stream 9/10 – 2026)
  • How to Secure a CentOS Server: 15 Essential Hardening Techniques (CentOS Stream 9/10 – 2026)

Recent Comments

No comments to show.

Knowledge Base

Access detailed guides, tutorials, and resources.

Live Chat

Get instant help 24/7 from our support team.

Send Ticket

Our team typically responds within 10 minutes.

logo
Alipay Cc-paypal Cc-stripe Cc-visa Cc-mastercard Bitcoin
Cloud VPS
  • Hong Kong VPS
  • US VPS
Dedicated Servers
  • Hong Kong Servers
  • US Servers
  • Singapore Servers
  • Japan Servers
More
  • Contact Us
  • Blog
  • Legal
© 2026 Server.HK | Hosting Limited, Hong Kong | Company Registration No. 77008912
Telegram
Telegram @ServerHKBot