Difference between revisions of "Virtual Directories"
Line 4: | Line 4: | ||
Let's go ahead and show how to add this to a domain hosted on our windows platform by using our custom built control panel to easily create this virtual directory. Following the below steps it may also make it clearer what this virtual directory actually is.</p> | Let's go ahead and show how to add this to a domain hosted on our windows platform by using our custom built control panel to easily create this virtual directory. Following the below steps it may also make it clearer what this virtual directory actually is.</p> | ||
− | == | + | ==How to access virtual directories in WCP== |
We'll share the steps needed to get to the virtual directory listings below: | We'll share the steps needed to get to the virtual directory listings below: |
Latest revision as of 15:44, 31 July 2017
Contents
What is a virtual directory?
A virtual directory is a directory alias within a website that refers traffic to another directory where the actual data is hosted. The directory it refers traffic to is a physical path on the server (or possibly another server via a network share if you have your own VPS servers).
Let's go ahead and show how to add this to a domain hosted on our windows platform by using our custom built control panel to easily create this virtual directory. Following the below steps it may also make it clearer what this virtual directory actually is.
How to access virtual directories in WCP
We'll share the steps needed to get to the virtual directory listings below:
First login to your WCP control panel for the account the domain is under: https://wcp.hostek.com
If you have any issues with logging into WCP then please see our tutorials on recovering your password if necessary
Once logged into WCP if you have multiple domains you may need to select the appropriate domain to manage using the 'Hosted Domains' drop-down in the top-right of the page as shown in the screenshot below:
Once in the correct domains WCP control panel click on the 'Virtual Directories' icon under the 'Files' section.
If you have one or more subdomains created underneath the domain then you will get a prompt asking which domain or subdomain you'd like to manage the virtual directories for.
Click the 'Manage' button next to the desired domain or subdomain you'd like to manage the virtual directories for.
Create new virtual directory
You will now see a list of existing virtual directories (if any). To add a new virtual directory click the 'Add' button.
You will then be presented with a form asking what the virtual directory name should be and what folder (physical path) it should be mapped to.
Note: You can click on the 'Browse' button to select a directory that already exist within your site rather than having to type it in.
If you need this virtual directory to also bet setup as an Application Folder then you can check the box for this as well. In most cases, but not all, customers only need this setup as a virtual directory and not an application.
Review the information you've inserted and selected in the form and then click the 'Save' button once you're ready to add the virtual directory.
Edit existing virtual directory
If you need to edit an existing virtual directory we'll show you how below.
Click the pencil icon next to the desired existing virtual directory as shown in the screenshot below:
You will then be able to update the physical directory that virtual directory pulls from.
Note: You cannot update the actual virtual directory name itself. You'll have to delete the virtual directory and create a new one if it needs setup with a new name.
Delete existing virtual directory
Let's show how to delete an existing virtual directory.
Click the trash can icon next to the virtual directory you wish to remove as shown in the screenshot below:
You'll then be presented with a confirmation pop-up asking if you're sure that you want to delete this virtual directory as shown in the screenshot below. Click 'OK' to confirm the deletion or click 'Cancel' to cancel the removal of the virtual directory.