Create virtual host

From Servage Wiki
Jump to: navigation, search

You need to create a virtual host for your added domain name before it will work with your Servage account. Please follow this step-by-step guide:

  1. Create a new folder outside the /www folder via the "Filemanager" in the control panel or via your ftp client, you can name the new folder /domain
  2. Create a new virtual host under the "Webserver" tab in the control panel. You simply type in "null" (without the quotes) in the first box and in the second box you scroll down to "{domain}". The third box "Document root" please type in "/domain" (this is the folder you have created via the "Filemanager" or via your ftp client).


Please note it may take 2-3 hours before the new virtual host will be visible on the Internet.

A tip, if you have a lot of folders in your online filemanager:
If you have multiple domains/subdomains that points to it's each own folder, you can use this approach.

Examples:
The virtual host "blog.myname.net" points to the folder "myname_net_blog".
The virtual host "forum.myname.net" points to the folder "myname_net_forum".
The virtual host "images.myname.net" points to the folder "myname_net_images".
The virtual host "shop.myname.net" points to the folder "myname_net_shop".
Should ease the browsing in the filemanager that you know which host is pointing to what folder.
You can use dots (.) istead of underscores (_) to separate names.
The virtual host "blog.myname.net" points to the folder "myname.net.blog".
Also the folders will group nicely together by domainname with subdomainname at the end.

Personal tools
Navigation