Apache Web Server

Latest Article:

How to serve multiple domains

Most people serve more than one domain on their Slice(s).

Whether for different domain names or different subdomains of the same domain, the procedure is the same.

The Apache Web Server is the workhorse of the Internet - even after all these years, she still powers just over half all websites (netcraft.com).

These Apache tutorials take you from the basics of installing and configuring Apache for simple and multiple websites to more advanced techniques.

Apache:

How to serve multiple domains: A commonly asked question is how to serve multiple domains. Let's take a look at the processes involved.

Introduction to Virtual Hosts: Once the principles behind name based Virtual Hosts are understood, creating and configuring them is much easier.

Multiple Hosts Layout: A consistent layout is used (if possible) between different OS and web server articles. Let's look at this layout and how it works.

Virtual Hosts Permissions: One thing that can be a cause for concern is the subject of permissions. Let's look at how they are set for virtual hosts.


Ubuntu Hardy Specific:

Ubuntu Hardy - Apache and PHP install: Installing Apache 2.2.8 and PHP 5.2.4 on an Ubuntu Hardy Heron Slice is simple using the 'aptitude' package manager.

Ubuntu Hardy - Apache Configuration Layout: Ubuntu Hardy Heron uses a 'Debian' style layout for the Apache install. Let's look at what that means.


Ubuntu Hardy - Apache Configuration #1: Now we can take a look at the main Hardy Heron apache2.conf and ports.conf files and see what the settings mean and what effect they have.

Ubuntu Hardy - Apache Configuration #2: Continuing from the first Apache configuration article, this one looks at some further settings in the main apache2.conf file.


Ubuntu Hardy - Apache Virtual Hosts #1: Now Apache is installed and running we can configure it to host multiple sites by creating our own custom virtual hosts.

Ubuntu Hardy - Apache Virtual Hosts #2: Continuing from the previous article, we now look in detail at the settings we can use in the vhosts file.


Ubuntu Hardy - using mod_rails to serve your application: Now passenger is installed, let's see how to serve our Ruby on Rails application.


Ubuntu Hardy - Apache Rails and Thin: Lets look at creating an Apache vhost to proxy requests for our Ruby on Rails application to the 'thin' web server.


Ubuntu Hardy - Apache, Rails and mongrels: Now we have mongrels and mongrel_clusters installed, we can move onto create an Apache vhost for our rails application.


Debian Specific:

Debian Etch - Apache and PHP install: Installing Apache 2.2.3 and PHP 5.2 on a Debian Etch Slice is a breeze using aptitude. Follow the next articles for configurations.

Debian Etch - Apache Configuration Layout: Debian uses a slightly different layout than a 'classic' Apache install. Let's investigate.


Debian Etch - Apache Configuration #1: Let's look at the main Debian apache2.conf file and see what the settings mean and what effect they have.

Debian Etch - Apache Configuration #2: Continuing from the first configuration article, this one looks at some further settings in the main apache2.conf file.


Debian Etch - Virtual Hosts: Now we have Apache up and running we can host multiple domains by creating virtual hosts.

Debian Etch - Virtual Hosts #2: Continuing from the previous article, we now look at some more settings that are available to us in the vhosts file.

Debian Etch - SSL and Virtual Hosts: How about securing the login area of an administration panel? No problem, let's install a self signed certificate.


Debian Etch - Apache, Rails and Mongrels: Using Apache to proxy requests to mongrel server(s) is not as complicated as it may seem. Let's take a look.

Debian Etch - Mongrel clusters and surviving a reboot: Following from the previous article, we now look at mongrel clusters and ensuring they restart on a reboot.


Ubuntu Gutsy Specific:

Ubuntu Gutsy - Apache and PHP install: Installing Apache 2.2.4 and PHP 5.2.3 on an Ubuntu Feisty Slice is simple using aptitude.

Ubuntu Gutsy - Apache Configuration Layout: Ubuntu Gutsy uses a 'Debian' style layout for the Apache install. Let's investigate.


Ubuntu Gutsy - Apache Configuration #1: Let's look at the main Gutsyu apache2.conf file and see what the settings mean and what effect they have.

Ubuntu Gutsy - Apache Configuration #2: Continuing from the first configuration article, this one looks at some further settings in the main apache2.conf file.


Ubuntu Gutsy - Virtual Hosts #1: Now Apache is installed and running we can configure it to host multiple sites by creating virtual hosts.

Ubuntu Gutsy - Virtual Hosts #2: Continuing from the previous vhosts article, we now look in detail at the available settings in the vhosts file.

Ubuntu Gutsy - SSL and Virtual Hosts: How about securing the login area of an administration panel? No problem, let's configure a vhost for just that.


Ubuntu Gutsy - Apache, Rails and Mongrels: Using Apache to proxy requests to mongrel server(s) is one of the ways of serving a Rails application.

Ubuntu Gutsy - Mongrel clusters and surviving a reboot: Following the previous article, we now look at mongrel clusters and ensuring they restart on a reboot.


Ubuntu Feisty Specific:

Ubuntu Feisty - Apache and PHP install: Installing Apache 2.2 and PHP 5.2 on an Ubuntu Feisty Slice is simple using aptitude.

Ubuntu Feisty - Apache Configuration Layout: Ubuntu uses a 'Debian' style layout for the Apache install. Let's investigate.


Ubuntu Feisty - Apache Configuration #1: Let's look at the main Ubuntu apache2.conf file and see what the settings mean and what effect they have.

Ubuntu Feisty - Apache Configuration #2: Continuing from the first configuration article, this one looks at some further settings in the main apache2.conf file.


Ubuntu Feisty - Virtual Hosts: Now Apache is installed and running we can configure it to host multiple sites by creating virtual hosts.

Ubuntu Feisty - Virtual Hosts #2: Continuing from the previous vhosts article, we now look in detail at the available settings in the vhosts file.

Ubuntu Feisty - SSL and Virtual Hosts: Let's secure the login area of an administration panel. We can do this by installing a self signed certificate.


Ubuntu Feisty - Apache, Rails and Mongrels: Using Apache to proxy requests to mongrel server(s) is one of the ways of serving a Rails application.

Ubuntu Feisty - Mongrel clusters and surviving a reboot: Following the previous article, we now look at mongrel clusters and ensuring they restart on a reboot.

Ubuntu LTS Specific:

Ubuntu LTS - Apache and PHP install: Installing Apache 2.0.55 and PHP 5.1.2 on an Ubuntu LTS Slice is straight forward using apt-get.

Ubuntu LTS - Apache Configuration Layout: Ubuntu uses a 'Debian' style layout for the Apache install. Let's investigate.


Ubuntu LTS - Apache Configuration #1: Let's look at the main LTS apache2.conf file and see what the settings mean and what effect they have.

Ubuntu LTS - Apache Configuration #2: Continuing from the first configuration article, this one examines some more settings in the main apache2.conf file.


Ubuntu LTS - Virtual Hosts: Now Apache is installed and has been optimised we can configure it to host multiple sites by creating virtual hosts.

Ubuntu LTS - Virtual Hosts #2: Continuing from the first vhosts article, we now look in detail at the available settings in the vhosts file.

Ubuntu LTS - SSL and Virtual Hosts: We can secure the login area of an administration panel by creating and installing a self signed certificate.


CentOS specific:

CentOS - Apache and PHP install: Installing Apache 2.2 and PHP 5.1 on a CentOS Slice is simple using 'yum'. Let's go ahead and install the basics.


CentOS - Apache Configuration #1: Let's look at the main CentOS httpd.conf file and see what the settings mean and what effect they have.

CentOS - Apache Configuration #2: Continuing from the first configuration article, this one looks at some further settings in the main httpd.conf file..

Please feel free to request articles or comment with any suggestions or ideas of your own.

PickledOnion