Archive for the tag 'cpanel'

SBDavid

Apache PHP Request Handling in Cpanel

Apache PHP Request Handling in Cpanel

Cpanel PHP’s main configuration file is located at /usr/local/apache/conf/php.conf
The php.conf file is called by the Apache configuration file (httpd.conf) by means of an include command.

WHM provides an interface that can assist you in configuring PHP. It is located in Service Configuration >> Apache Configuration >> PHP and SuExec Configuration. You are also able to access a command line interface that provides the same options through the following script:

/usr/local/cpanel/bin/rebuild_phpconf

Reference: http://cpanel.net

How to setup Cpanel Dns Cluster’s failure threshold.

This section allows you to specify the number dnsadmin commands that are allowed to fail before a member of your cluster is disabled.

Unresponsive cluster members are disabled in an effort to improve performance.

Global cluster configuration options

If you wish for all of the members of your cluster to remain online at all times, enter 0.

Cpanel recommend setting this value to 10.

Reference : http://cpanel.net/

SBDavid

What is dnsadmin in Cpanel Servers

What is dnsadmin in Cpanel Servers

DnsAdmin is a GPL development project to create a set of programs to manage dns information.

Support is included for bind and djbdns.

dnsadmin is a set of programs that helps manage DNS information.

Reference : http://www.inter7.com/

Limit the number of Rails applications in Cpanel Server

You can limit the number of Rails applications your customers can install.

To do this in WHM, go to Modify an Account, click the domain name you wish to limit, and in the Max Mongrel Instances (Ruby on Rails) box, specify the desired maximum number of applications.

Creating a Ruby on Rails Application in Cpanel Server

Ruby on Rails runs on its own server so the setup requires a little extra work.

1. Log into cPanel.
2. Navigate to the Software/Services section of your cPanel interface.
3. Click the Ruby on Rails icon.
* This step will open the Ruby on Rails management interface.
4. Specify your application’s name in the App Name field.
* PICK Remember: To set your application to load when the server is booted, click the Load on Boot? check box.
5. Assign the application path in the Application Path field.
* note Note: If you set an application path in your public_html/ directory, your source code and configuration files can be viewed by anyone on the web.
6. Use the Environment drop-down menu to select the type of Ruby on Rails environment you wish to run.
7. Click Create.

« Prev - Next »