Apache Web Server Nodes

An Apache web server node is a web server (Linux-based) that delivers websites to Internet users with the help of Apache HTTP server. When you subscribe customers to a service plan that includes Apache-based web hosting services, PPA allocates disk space and creates customer websites on one of the nodes with the Apache web server role.

When you assign the Apache web server role to a node, the system automatically installs the following components to that node: Apache, PHP, and ProFTPd.

Server Requirements

Before adding an Apache web server node to the environment, make sure that the server meets the following requirements.

OS

RHEL 5.9, 6.4 (32-bit and 64-bit versions)

CentOS 5.9, 6.4 (32-bit and 64-bit versions)

CloudLinux 6 (32-bit and 64-bit versions)

CPU

2 GHz minimum, 3.2 GHz recommended

RAM

1 GB minimum

Disk space

At least 10 GB free

Open TCP ports

80, 443: HTTP, HTTPS

8352-8999: Communication between a service node and PPA panels

22: Communication through SSH

20, 21: FTP connections

Adding a Node

To register an Apache web server node in PPA:

  1. Add a web server node to the system by starting the Add New Node wizard in Administration Panel > Infrastructure > Service Nodes. The wizard will ask you to provide the following information:
  2. Normally, when the installation is complete, the node is marked as Ready to provide its services. If this does not happen, resolve the issue and mark it manually on the node properties page (Infrastructure > Service Nodes).
  3. Assign a license key to the node as described in the section Installing License Keys for Service Nodes.
Enabling Support for a Large Number of Websites

In the default PPA configuration, it is not possible to host more than 1000 sites on an Apache service node. If you want to host more sites, do the following:

  1. Log in over SSH to the Apache service node.
  2. In the /etc/init.d/httpd file, add ulimit -n 999999 to the start function.
  3. In the /etc/security/limits.conf file, add nofile 999999.
  4. Restart Apache by issuing the command service httpd restart.
Automatically Assigned Attributes

When registering an Apache web server node, the system automatically assigns the Apache provisioning attribute to the node.

 

Leave your comments on this page