Creating Virtual Directory for ASP.Net application

Creating Virtual Directory for ASP.Net application

Creating a Virtual Directory for ASP.Net application

Description: A virtual directory is a link to an existing physical directory that is present on the server's hard disk. Virtual directories can have a number of specific settings like custom ASP.NET configuration, access permissions, URL password protection, and so on.  

  •  Usages of  Virtual Directories

Since any virtual directory can have its own settings, including customized ASP.NET configuration, virtual directories are very useful in setting up your web applications, especially those written in ASP.NET. For example, if you have three web applications that use ASP.NET version 4.0, and you need to install one web application that uses ASP.NET version 3.5, you can create a virtual directory for the ASP.NET 3.5 application (it is not recommended, as there is some abnormal activities in directories), configure ASP.NET settings for this directory, enabling version 4.0  is far more stable.

Virtual directories can also be used as aliases. For example, you have a web application installed on your domain 'yourdomain.com' in the physical folder '/my_data/web_apps/forum'. To access this web application, users need to type 'yourdomain.com/my_data/web_apps/forum', which is hard to remember and too long to type. You can create virtual directory 'forum' in the root of your virtual host, and link this virtual directory to '/my_data/web_apps/forum', so users who want to access the web application have to type 'yourdomain.com/forum' , which is much shorter and easier to remember.

  

       Step 1: To create Virtual Directories, Login to Plesk Control Panel and go for the Website & Domain tab, after that click on Virtual Directories.

       

         Step 2: Now click on the Create Virtual Directory icon.   

        

Step 3:  Specify the required parameters to create a Virtual Directory.

 Name - specify the virtual directory name.
 Path - specify the virtual directory path: Select the Create physical directory with the same name as the virtual directory checkbox to automatically create a physical directory with the same name as the virtual directory you are creating.

                 Enable the permissions.

                Select the Execute Permission.

               After all these steps just click OK.

         

         The new virtual directory has been created.

    

    

   



    • Related Articles

    • Changing the ASP.Net version for Virtual Directory/Website Virtual Directory

      Changing ASP.Net Version for your Virtual Directory. Description: Virtual directories allow you to run multiple web applications on a single domain In virtual directories, the directory is accessed using the folder path instead of the subdomain name. ...
    • How to change ASP.Net application pool from SolidCP

      Steps to follow to change ASP.Net application pool in SolidCP Login to SolidCP. Once you are logged into SolidCP, click on All Customers link. In the next screen, you will see the list of all created users. , you'll see the default admin user there. ...
    • How to add virtual directory from SolidCP

      Steps to follow to add virtual directory in SolidCP Login to SolidCP Once you are logged into SolidCP, click on All Customers link. In the next screen, you will see the list of all created users. If you have not created any user yet, you'll see the ...
    • Change ASP.NET Framework Version for your domain or subdomain in Plesk

      Change ASP.NET Framework Version for your domain or subdomain in Plesk Description: ASP.NET is an open-source server-side web application framework designed for web development to produce dynamic web pages developed by Microsoft to allow programmers ...
    • Creating JAVA Web Application/ deploying WAR file

      You can use Java Application packages for your web site in the Web Archive Format (WAR) To install a Java Application login into your Pleak Control Panel. Login into Plesk Control Panel and go to the Website & Domains tab click on Show Advance ...