Limiting the Amount of Resources a Site Can Consume
By default, new Web sites that you set up without the help of domain templates, are allowed to consume unlimited amounts of bandwidth (data transfer) and disk space.
To limit the amount of resources a site can consume:
- Click Domains, and then click the domain name you need.
- Click Resource Usage.
- Adjust the following settings as required:
- Overuse policy. Specify what should be done when disk space and monthly bandwidth (traffic) allotments are exceeded. We recommend setting this option to Overuse is allowed. Otherwise, the Web site will be suspended when the resource limits are exceeded.
- Disk space. Specify the total amount of disk space allocated to the hosting account associated with this domain (Web site). This amount is measured in megabytes. It includes disk space occupied by all files related to the domain (Web site): Web site contents, databases, applications, mailboxes, log files and backup files.
- Maximum amount of traffic. Specify the amount of data in megabytes that can be transferred from the Web site during a month.
- Maximum number of subdomains. Specify the number of subdomains that can be hosted under this domain.
- Maximum number of domain aliases. Specify the total number of additional alternative domain names that can be used for this site.
- Maximum number of Web users. 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. See the Hosting Personal Web Pages section for details.
- Maximum number of additional Microsoft FrontPage accounts (available only for Windows hosting). Specify the maximum number of additional Microsoft FrontPage accounts that can be created for this site.
- Maximum number of additional FTP accounts (available only for Windows hosting). Specify the maximum number of additional FTP accounts that can be created for this site.
- Maximum number of mailboxes. Specify the number of mailboxes that can be hosted under the domain.
- Mailbox quota. Specify the amount of disk space in kilobytes that is allocated for storing e-mail messages and autoresponder attachment files to each mailbox under the domain.
- Maximum number of mail redirects. Specify the number of mail forwarders that can be used under the domain.
- Maximum number of mail groups. Specify the maximum number of mail groups that can be used in a domain.
- Maximum number of mail autoresponders. Specify the number of automatic responses that can be set up under the domain.
- Maximum number of mailing lists. Specify the number of mailing lists that the domain owner can run under the domain. The mailing lists are served by the GNU Mailman software, which may or may not be installed on the server. If it is not installed and your customers would like to use it, contact your service provider to have it installed.
- Total mailboxes quota (available only for Windows hosting). Specify the total amount of disk space available for all mailboxes on a domain.
- Maximum number of databases (available only for Linux hosting). Specify the number of databases that can be hosted for this site.
- Maximum number of MySQL databases and Maximum number of Microsoft SQL server databases (available only for Windows hosting). Specify the maximum number of MySQL and Microsoft SQL Server databases that can be used by the site.
- MySQL databases quota and Microsoft SQL databases quota (available only for Windows hosting). Specify the maximum disk space amount in megabytes that MySQL and Microsoft SQL Server databases used by this site can occupy.
- Maximum number of ODBC connections (available only for Windows hosting). Specify the total number of ODBC connections that can be used by this site.
- Maximum number of ColdFusion DSN connections (available only for Windows hosting). Specify the total number of ColdFusion DSN connections that can be used by this site.
- Maximum number of Java applications. Specify the maximum number of Java applications or applets that the domain owner can install on the site.
- Maximum number of IIS applications (available only for Windows hosting). Specify the maximum number of IIS applications that the domain owner can install on the site.
- Maximum number of shared SSL links (available only for Windows hosting). Specify the total number of shared SSL links that can be used on the site.
- Validity period. Specify the term for the Web site hosting account. At the end of the term, the domain (Web site) will be suspended, its Web, FTP and mail services will no longer be accessible to the Internet users, and site owner will not be able to log in to the control panel. Hosting accounts cannot be automatically renewed, therefore, in order to bring the hosted domain name (Web site) back to operation, you will need to manually renew the hosting account: click the Domains shortcut in the navigation pane, click the domain name your need, click Resource Usage, specify another term in the Validity period box, click OK, then click Unsuspend.
- Click OK.
To protect your site from DoS attacks and to ensure that your site responds promptly when there are many visitors, you can limit the number of simultaneous connections to the site and limit the amount of bandwidth that visitors to the site can consume:
- Click the Domains shortcut in the navigation pane.
- Click the domain name you need.
- Click Bandwidth Limiting.
- Select the Switch on bandwidth limiting check box, and in the Maximum bandwidth usage (KB/S) box, type the maximum speed in kilobytes per second that a site can share among all its connections. For example: 128.
- Select the Switch on connections limiting check box, and in the Connections limited to box, type the maximum number of simultaneous connections. For example: 100.
- Click OK.