|
Smt 1 User’s Guide (Linux Version) Server Management Tool (smt) 1
|
bet | 6/42 | Sana | 29.09.2020 | Hajmi | 6,37 Mb. | | #11801 |
Figure 7-1
Add a Virtual Host
To add a virtual host domain name to the account, while at the screen displayed in Figure 7-1 above, click the “Add Virtual Host” link. Figure 7-2 (see below) will then be displayed. To complete the form, the user must enter the following information:
Fully qualified domain name (ex. domain.com). Ensure the user does not include ‘www’ in front of the domain name.
Home directory (not path) for the files for the virtual host domain name (ex. domaincom or domain). This directory will be located in the /www/htdocs directory by default. This directory can be viewed by telnet or FTP.
To add the domain name, just click the “Add Virtual Host” button.
Figure 7-2
After the domain name has been added, the user will see the screen below (Figure 7-3) that displays the success message, along with the links to the Virtual Host Manager (VH Manager).
Figure 7-3
NOTE: Please be aware that if you have a legacy account (i.e. Server 2, Server 2 Plus, etc), the feature to add a domain will be disabled, and you can only add a domain name through the Customer Care Center link.
Enable Virtual Host Logs
From the “Add” menu under Web Services, a user can add web logs to a domain that is hosted on that account.
To enable or disable both Error and Access (traffic) logs for a specific domain, select the domain name from the drop down menu and then click the appropriate radio button for either the Error or Access log. Note that if the user selects “Enable”, visits to the website from that point forward will accumulate in the logs. Each virtual host log file is located in the /www/logs directory of the server by default, and can be found in FTP or telnet at that path. Figure 7-4 below shows an example of what the SMT would look like prior to the enabling of logs for a domain name called “testdomain.com”.
|
| |