WWW domains (ISPmanager)

From ISPWiki

Jump to: navigation, search

A WWW domain (web-site) is a collection of pages and scripts available in the World Wide Web by a certain domain name. The ISPmanager control panel provides various features and options enabling users to manage WWW domains and monitor hits statistics.

A user can add WWW domain if you specified more than one WWW domain in the "Limits" tab when creating a new user. Both your user and you can add new WWW domain following the same procedure, except for some features available only for administrators.

Module«WWW domains»
Image:T-bullet.gif View a list of WWW domains
Image:T-new.png Create WWW domain
Image:T-edit.png Edit WWW domain parameters
Image:T-editlist.png Edit Virtual host parameters Image:isp_pro.png (For Server Administrators only)
Image:T-delete.png Delete WWW domain
Image:T-on.png Enable the selected WWW domain
Image:T-off.png Disable the selected WWW domain
Image:T-stat.png View the WWW domain statistics
Image:T-rotate.png Log rotation settings
Image:T-attr.png WWW domain default log rotation
Image:T-filter.pngFilter the WWW domains list
Image:T-errpage.png WWW domain error pages
Image:T-redirect.png Redirects for WWW domain
Image:T-mime.png MIME types (ISPmanager)
Image:T-go.png Switch to WWW domain owner panel

View a list of WWW domains

  • Name - domain name of this WWW domain.
  • Owner - name of the WWW domain owner. (not available for site administrators)
  • IP-address - address where WWW domain name is registered.
  • Document root - path relative to the owner's home directory.
  • Settings - graphical identifier corresponding to the functionality that you can use for this domain:
Image:P-cgi.png - CGI is active for this WWW domain
Image:P-php.png - PHP is active for this WWW domain.
Image:P-ssi.png - SSI is active for this WWW domain.
Image:P-ssl.png - HTTPS is active for this WWW domain.
Image:P-on.png - the selected WWW domain is active.
Image:P-off.png - the selected WWW domain is not active.

Create WWW domain

To add a new WWW domain, click the "New" icon and fill out the form:

The WWW domain tab

Module«WWW domains»
  • Domain name - enter the name of the WWW domain you want to add
  • Alias(es) - enter the name of the alias(es) that you want to add for this WWW domain. You can add unlimited number of aliases, space separated. For example, you want to use some additional names like www.example.com, more.example.org, www.more.example.org for your WWW domain example.com. Enter all names (space separated) to the list, and your WWW domain will be accessible over these addresses.
  • Root folder - enter the path relative to the WWW domain owner home directory. Please note: we would strongly recommend that you not change the field. Leave the default value (auto).
  • Owner - select the owner of the WWW domain. (not available for system administrators).
  • IP-address - select the IP-address that will be used for this WWW domain. For more information about IP-addresses, please read Working with IP-addresses.
  • E-mail administrator - enter the contact e-mail address that will be shown on the web-server error pages for this WWW domain
  • Encoding (character set) - enter the default encoding (character set) for this WWW domain. If you leave this field empty the default sever encoding will be used.
  • Default page - enter the names of files that will be shown if a URL has no file specified (for example: index.html index.htm index.php). If you leave this field empty the default server values are used.
  • Auto subdomains - select the subdomain mode for this WWW domain. If you activate auto subdomains, than subdomains will be created automatically.
    • As separate directory - subdomains will be created automatically when you add a folder inside the folder WWW (for example: subdomain.domainname.com).
    • As WWW domain subdirectory - every folder inside the folder of the WWW domain will be automatically a subdomain.
  • PHP - select a PHP mode:
    • PHP not supported - without PHP support.
    • PHP as an Apache module - the apache mod_php module is used for PHP. One of its advantages is a higher speed capability.
    • PHP as CGI - PHP will be run as a CGI (Common Gateway Interface) CGI script in a separate process. It starts with each request and completes its work after the script is executed.
    • PHP as FastCGI - the Apache mod_fastcgi is used for PHP.
  • CGI-bin - check the box to activate CGI (Common Gateway Interface) for this WWW domain.
  • wsgi-scripts - check the box to allow to execute WSGI (Web Server Gateway Interface) scripts.
  • SSI - check the box to activate SSI (Server Side Includes) for this WWW domain.
    • SSI file extensions - enter the file extensions that will be used by the SSI (Server Side Includes) mechanism.
  • SSL - check the box to activate SSL for this WWW domain
    • SSL port - enter the port number that will be used for secure connection to this WWW domain. You can use a port only once per IP-address.
  • logrequests - log requests (only in ISPmanager Cluster).
  • SSL certificate - select a certificate for this WWW domain (you can add a new self-signed SSL certificate as well).

The PHP settings

Note, this tab is not displayed unless "PHP as Apache" or PHP as "PHP as CGI" are chosen in the The WWW domain tab.

Module«WWW domains»
  • Disable open_basedir - select the check box to turn off open_basedir that limits access to directories and files outside the site directory-tree.

The Logs settings tab

Module«WWW domains»
  • Access log - select whether you wish to enable web-server access log and rotate it
  • Error log - specify whether you want to store web-server error logs archives and rotate it.
  • Rotation period - select the period for logs rotation (daily, every hour, every day, every week, every month, by size).
  • Size - provide the maximum size of the file (in MB).
  • Store archives - provide the number of log file archives to be stored on the server. Disk space occupied by the archives is included into the user quota.
  • Analyse with - from the drop-down menu select a program to be used for information processing.
  • Analysis period - provide the period for logs rotation.

More information on how to configure deafult settings for logs rotation can be found in the Default logs rotation (ISPmanager) module.

Edit WWW domain parameters

To edit a WWW domain, locate the WWW domain you wish to edit, click the "Edit" icon and modify the settings you want to change.

Please note, that you cannot delete the path of the existing WWW domain.

Edit Virtual host parameters

Using this function the server administrator can modify the Apache server configuration for the selected WWW domain.

WARNING! Any changes in this form you are doing at your own risk.

Only the Directory and VirtualHost directives, as well as the directories associated with a selected WWW domain will be moved to the Apache configuration file. ISPmanager does not verify the data you provide. It checks your configuration files syntax with apachectl configtest.

Delete WWW domain

To delete a WWW domain, select it from the list and click the "Delete" icon. Carefully read the information in the form that will appear:

Module«WWW domains»
  • Delete mail domain - select the check box to delete the mail domain as well as all the mailboxes, mail groups, redirects and auto-responders of this mail domain.
  • Save records in DNS - select the check box to save all records of this domain in DNS. If the mail domain with this name already exists and you are not going to delete, this domain name won't be deleted as well.
  • Save directories and files of the WWW domain - select the check box, if you want to keep the directories and files of this WWW domain.

View the WWW domain statistics

To view the WWW domain statistics, select a required WWW domain and click the "Statistics" icon. Next, the page with detailed information will be displayed.

To be able to view statistical information make sure that you have either Webalizer or AwStats up and running. To do so, go the the Applications module and activate a log analyser you want to use. Then, open the WWW domain edit form -> the Logs settings tab and select the analyser previously activated and rotation period.

Log rotation settings

The control panel enables to set web-server rotation parameters for a WWW domain. Select it from the list, click the "Logs" icon and fill out the form:

Module«WWW domains»
  • Access log - select whether you wish to enable web-server access log and rotate it.
  • Error log - select whether you want to store web-server error logs archives and rotate it.
  • Rotation period - select the period for logs rotation (daily, every hour, every day, every week, every month, by size).
  • Size - enter the maximum size of the file (in MB).
  • Store archives - provide the number of log file archives to be stored on the server. Disk space occupied by the archives is included into the user quota.
  • Analyse with - select a program to be used for web-server logs analysis
  • Analysis period - provide the period for logs analysis.
  • Report language - select a language to generate the report.

WWW domain default log rotation

The control panel enables to set web-server rotation parameters for all new WWW domains. Click "All logs" and fill out the form:

Module«WWW domains»
  • Access log - select whether you wish to enable web-server access log and rotate it.
  • Error log - select whether you want to store web-server error logs archives and rotate it.
  • Rotation period - select the period for logs rotation (daily, every hour, every day, every week, every month, by size).
  • Size - enter the maximum size of the file (in MB).
  • Store archives - provide the number of log file archives to be stored on the server. Disk space occupied by the archives is included into the user quota.
  • Analyse with - select a program to be used for web-server logs analysis
  • Analysis period - provide the period for logs analysis.
  • Change for all WWW domains - check the box to apply the settings to all the WWW domains.

For more details read the article Logs rotation.

More information on how to configure deafult settings for logs rotation can be found in the Default logs rotation (ISPmanager) module.

Filter the WWW domains list

You can use the list filter to search the information about WWW domain by specific parameters. To initiate searching, click the "Filter" icon and fill out the form. You do not need to fill out all the fields. The search can be carried out by its name, IP-address and owner.

Once the filter is set, the list will be filtered by WWW domain. You can clear the filter that you have previously set by clicking "Remove filter" button

Switch to WWW domain owner panel

You can use this function to gain access to the control panel with privileges of the WWW domain owner. To do so, select the domain from the list and click the "Enter" icon.

Once logged in, you can manage the control panel with privileges the selected user.

To return to your level, click the link next to the welcome line.

Was this helpful? Yes | No
Personal tools