Return to "Miscellaneous"

Creating Web Server Aliases


 
The topic of this article is not supported by our customer support department, however for your convenience we are providing this material to assist you in troubleshooting potential issues related to this topic.

Aliases are sometimes required by CGI scripts or software packages that you install on your account. An example of using a web alias would be to alias a forum CGI script to an easier to remember pathname. Only create a web alias if you are instructed to do so by the software that you are attempting to install—do not use this tool to attempt to create a virtual host or make DNS changes.

Log in to your VDS Manager by clicking the ‘Login to VDS Manager’ link from the Products page of the Customer Manager, which is located at https://my.opensourcehost.com.

Click on the Web Aliases on the left side of the screen.

Click on

You can create one of the following alias types:

  • Web Alias - Used for accessing static content stored outside of the regular web root directory with a specific URL.
  • Script Alias - Used for linking a specific application or program that runs outside of the web root directory to a specific URL.

In the URL Path Name field, enter the path to the aliased file that should appear in the URL. For example, if you would like http://www.yoursitedomain.com/forum/ to point to the /var/www/cgi-bin/forum/ directory, you would enter /forum/.

In the Absolute Path Name field, enter the full path to the file or folder inside of the VDS. In the example above, you would enter /var/www/cgi-bin/forum/ in this field.

If you need more complex aliases, please contact OpenSourceHost Customer Support for further instructions.