Domain Template Creation in Plesk Control Panel

October 11, 2007 / Control Panels Web Hosting

To implement a hosting plan create a domain template, and define hosting services and resource allotments in accordance with your hosting plan:

  1. Click Domain Templates in the Tools group on your Home page.
  2. Click Add New Domain Template.
  3. Specify the template properties as follows:
    1. Template name – First specify a name for this template. Because during the setup of a new hosting account, your prompt to select the required template by its name. Therefore, it recommends that you choose a suitable name that corresponds to one of your hosting plans or describes the number of allotted resources. For example, Mail hosting, 2GB disk space, 800 mailboxes.
    2. Mail to nonexistent users – Specify the domain-wide mail bounce options: When somebody sends an e-mail message to an e-mail address that does not exist under your domain, the mail server on your domain accepts mails, processes it, and when it finds out that there is no such a recipient under your domain, it returns the mail back to the sender with the “this address no longer accepts mail” notice. You can choose to:

* If you do not like it change the default notice.

* forward undelivered mail to another e-mail address (select the Catch to address option and specify the e-mail address you need)

OR

* Reject mail without accepting it (select the Discard option). This setting decrease mail server load caused by a large amount of spam which often directed at randomly generated user names. However, for spammers, this can somewhat speed up scanning your mail server for valid e-mail addresses.

WebMail – Specify whether the users of mailboxes in this domain should able to read their mail through a browser-based WebMail application.

Specify the number of domain aliases that can be used for this domain.

Specify the number of subdomains that hosted under this domain.

Specify the total amount of disk space allocated to a hosting account associated with the domain. This amount measured in megabytes. It includes disk space occupied by all files related to this domain/website: website contents, databases, applications, mailboxes, log files, and backup files.

This the so-called soft quota: when it exceeds, domain names and websites are not suspended automatically, only the appropriate notices are sent to your and your provider’s e-mail addresses, and the resource overage is indicated by the icon shown in the control panel to the left of the domain name (see the list of domain names on your Home page). And then it is up to you to decide what to do with the domain:

* you can notify the domain owner and suspend the domain/website after a grace period until you receive the payment

OR

* upgrade the hosting plan for your customer.

Specify the maximum disk space amount that MySQL and Microsoft SQL Server databases respectively can occupy on a domain.

Specify the amount of data in megabytes that can be transferred from the website during a month. Once the limit is reached, the appropriate notices are sent to your provider’s e-mail addresses and the resource overage is indicated by a corresponding icon shown in the control panel to the left of the domain name (see the list of domain names on your Home page). When a website starts attracting more visitors and requires more bandwidth, consider upgrading a hosting plan

Specify the number of personal web pages that the domain owner can host for other users under his or her domain. This service is mostly used in educational institutions that host non-commercial personal pages of their students and staff. These pages usually have web addresses like http://your-domain.com/~username.

Specify the maximum number of additional Microsoft FrontPage accounts that can be created on a domain.

Specify the maximum number of additional FTP accounts that can be created on a domain.

Specify the maximum number of MySQL and Microsoft SQL Server databases respectively that can hosted on a domain.

Specify the number of mailboxes that can hosted in a domain.

Specify the amount of disk space in Kb that is allocated to each mailbox in a domain.

Specify the total amount of disk space available for all mailboxes on a domain.

Specify the number of mail redirects that can used in a domain.

Specify the maximum number of mail groups that can used in a domain.

Specify the number of automatic responses that can set up in a domain.

Specify the number of mailing lists that the domain owner can run in a domain. To allow the use of mailing lists, you should also put a check mark into the Mailing lists check box under the Preferences group.

Specify the maximum number of Tomcat Java applications and applets that the domain owner can install in a domain.

Specify the maximum number of subdomains (including their parent domain) that can link to the Master SSL domain defined by the server administrator.

Specify the maximum number of ODBC connections that can set up on a domain.

Specify the term for a hosting account. At the end of the term, the domain/website will be suspended, its Web, FTP, and mail services will no longer be accessible to the Internet users, and the domain owner will not able to log in to the control panel.

Hosting accounts cannot be automatically renewed, therefore, in order to bring the hosted domain name/website back to operation, you will need to manually renew the hosting account: on your Home page, click the domain name your need, click Limits, specify another term in the Validity period box, click OK, then click Switch On in the Domain group (Home > domain name).

All connections to the Web server and requests for files that were not found on the server are registered in log files. These log files are analyzed by the statistical utilities running on the server, which then present graphical reports on demand. If you need to view the contents of these raw log files for debugging purposes, on your Home page, click the domain name you need, click Log Manager, and then click the log file name you need. To prevent these log files from growing too large, you should enable automatic cleanup and recycling of log files:

* select the Switch on the log rotation checkbox
* specify when to recycle log files
* specify how many instances of each log file to store on the server
* specify whether they should be compressed
* specify whether they should be sent to an e-mail address after processing.
* Specify additional settings in the Preferences section.
* Mailing lists. Select this checkbox to enable the ability to create and manage mailing lists on the domain.
* Retain traffic statistics. Specify the number of months during which the bandwidth usage statistics should be kept on the server.

DNS. Specify whether the DNS server on your Web host should act as a master (primary) or slave (secondary) name server for the domain name zone. A primary name server stores locally the zone file it serves, while a secondary server only retrieves a copy of this file from the primary. You would normally leave the Master option selected.

Physical hosting account. If you are going to host not only domain names, but also websites, select the Physical hosting checkbox and specify the hosting features:

Hard disk quota. In addition to the soft quota, you can specify the so-called hard quota that will not allow writing more files to the web space when the limit is reached. In an attempt to write files, users will get an “Out of disk space” error.

SSL support – Secure Sockets Layer encryption is generally used for protecting the transfer of sensitive data during online transactions on e-commerce Web sites that run on dedicated IP addresses. SSL certificates that participate in the encryption process usually applied to a single domain name on a single IP address, therefore, each site that needs SSL protection must hosted on a dedicated IP address.

An exception to this is subdomains, which you can protect with a wildcard certificate. Installing an SSL certificate on a Web server that hosts several websites with different domain names on a single IP address (shared or name-based hosting) technically possible, however, it is not recommended: the encryption will be provided, but users will get warning messages on an attempt to connect to the secure site. To allow SSL encryption for Web sites, select the SSL support check box.

SiteBuilder support – SiteBuilder is an efficient and user-friendly WYSIWYG website editor running through the web interface. Select the Publish site with SiteBuilder checkbox to give domain administrators the ability to access SiteBuilder and build web site through their Plesk control panel interface by clicking SiteBuilder on the domain management page or clicking the Desktop shortcut in the SiteBuilder Admin navigation pane group.

The version of SiteBuilder coming in the standard Plesk distribution is fully functional and its use is not limited in any way by the manufacturer (but you can restricted from accessing it by your service provider).

Blog and Photo Gallery support – Select the Create Blog and Photo Gallery subdomains checkbox if you want the subdomains blog.domainname.com and photo.subdomain.com to be automatically created.

Microsoft FrontPage support – Microsoft FrontPage is a popular website authoring tool. To enable publishing and modifying the site through Microsoft FrontPage, select the Microsoft FrontPage support and Microsoft FrontPage over SSL support checkboxes, and set the Remote Microsoft FrontPage authoring option to allow.

Note:- Microsoft FrontPage over SSL support is available only when SSL support enabled on a domain.

Support for programming and scripting languages widely used in the development of dynamic Web sites and server-side Web applications. Specify which of the following programming and scripting languages interpret, executed, or otherwise processed by the webserver: Active Server Pages (ASP), Active Server Pages on .NET framework (ASP.NET), Server Side Includes (SSI), PHP hypertext preprocessor (PHP), Common Gateway Interface (CGI), Perl, Python, ColdFusion and Miva scripting required for running Miva e-commerce solutions.

Note:- If ASP.NET support enabled, ASP.NET version 2.0 set as default. You can change the version in the corresponding drop-down menu.

If PHP support enables, PHP version 4 set as default. You can change the version in the corresponding drop-down menu

Web statistics -This allows you to view the information on the number of people who visited the site and the pages of the site they viewed, select a module in the Web statistics drop-down menu, and select the accessible via password-protected directory /Plesk-stat/ checkbox if required. This will install the selected statistical software module, which will generate reports and place them into the password-protected directory. The domain administrator will then be able to access Web statistics at the URL: https://your-domain.com/plesk-stat/ using their FTP account login and password.

Custom error documents – When visitors coming to the site request pages that the web server cannot find, the web server generates and displays a standard HTML page with an error message. To give domain owners the ability to create their own error pages and use them on a web server, select the Custom error documents checkbox.

Note:- You can enable the support for all programming and scripting languages, web statistics, and custom error documents at once by selecting the All services checkbox in the Services group.

Additional write/modify permissions – This option required if web applications on a domain are using a file-based database (like Jet) located in the root of httpdocs or httpsdocs folders. Please note that selecting this option might seriously compromise the website’s security.

Use a dedicated IIS application pool – This option enables the use of a dedicated IIS application pool for web applications on a domain. Using a dedicated IIS application pool dramatically improves the stability of domain web applications due to worker process isolation mode. This mode gives each website hosted on the server the possibility to allocate a separate process pool for the execution of its web applications. This way, malfunction in one application will not cause the stopping of all the others. This is especially useful when you are using shared hosting plans.

Maximum CPU use. To limit the number of CPU resources that the domain’s IIS application pool can use. Clear the Unlimited checkbox and provide a number (in percent) in the field.

Performance-To avoid excessive usage of bandwidth, which can lead to resources overage, you can set various performance limitations for a domain.

Maximum network use – To limit the maximum speed (measured in KB per second) that a domain can share between all its connections, clear the Unlimited checkbox and provide a number (in kilobytes) in the field.

Connections limiting – To limit the maximum number of simultaneous connections to a domain. Clear the Unlimited checkbox and provide a number in the field

Click OK to complete the creation of a template.

This is how you create a new domain/website. You will select the required template and the hosting account will created and allocated the resources and web hosting services you defined.