Apache Virtual Hosts on Gentoo - part 2

With the base apache virtual host configs in place on your Gentoo server, let's look at other settings you may want to apply to them.


Apache Virtual Hosts on Gentoo - part 1

Now that apache is running and configured on your Gentoo server we can add virtual hosts to let it serve more than one domain.


Apache Virtual Hosts on Arch - part 2

With the base apache virtual host configs in place on your Arch server, let's look at other settings you may want to apply to them.


Apache Virtual Hosts on Arch - part 1

Now that apache is running and configured on your Arch server we can add virtual hosts to let it serve more than one domain.


Apache Virtual Hosts on RHEL - part 2

With the base apache virtual host configs in place on your RHEL server, let's look at other settings you may want to apply to them.


Apache Virtual Hosts on RHEL - part 1

Now that apache is running and configured on your RHEL server we can add virtual hosts to let it serve more than one domain.


Apache Virtual Hosts on Fedora - part 2

With the base apache virtual host configs in place on your Fedora server, let's look at other settings you may want to apply to them.


Apache Virtual Hosts on Fedora - part 1

Now that apache is running and configured on your Fedora server we can add virtual hosts to let it serve more than one domain.


Apache Virtual Hosts on Debian - part 2

With the base apache virtual host configs in place on your Debian server, let's look at other settings you may want to apply to them.


Apache Virtual Hosts on Debian - part 1

Now that apache is running and configured on your Debian server we can add virtual hosts to let it serve more than one domain.


Apache Virtual Hosts on CentOS - part 2

With the base apache virtual host configs in place on your CentOS server, let's look at other settings you may want to apply to them.


Apache Virtual Hosts on CentOS - part 1

Now that apache is running and configured on your CentOS server we can add virtual hosts to let it serve more than one domain.


Apache Virtual Hosts on Ubuntu - part 2

With the base apache virtual host configs in place on your Ubuntu server, let's look at other settings you may want to apply to them.


Apache Virtual Hosts on Ubuntu - part 1

Now that apache is running and configured on your Ubuntu server we can add virtual hosts to let it serve more than one domain.


Gentoo - Apache Virtual Hosts 2

Continuing from Gentoo - Apache Virtual Hosts #1, we'll look in detail at some of the additional settings available to us in Apache's virtual host configuration files.

Familiarity with these settings will allow us to exercise better control over the domains we're serving.


Gentoo - Apache Virtual Hosts #1

Now that we have Apache installed and running, we can configure it to serve multiple domains using Virtual Hosts.

Do note the layout used in these articles is explained here — feel free to use the directories of your choice.


Debian Lenny - Apache Virtual Hosts #2

Following on from the first Debian Lenny - Apache Virtual Hosts article, we can now look in detail at some of the settings available to us in the Virtual Hosts file.

This will enable us to have complete control of the domain we want to serve.


Debian Lenny - Apache Virtual Hosts #1

Now we have Apache installed and running, we can configure it to serve multiple domains using Virtual Hosts.

Do note the layout used in these articles is explained here - feel free to use the directories of your choice.


Ubuntu Intrepid - Apache Virtual Hosts #2

Following on from the first Ubuntu Intrepid - Apache Virtual Hosts article, we can now look in detail at some of the settings available to us in the Virtual Hosts file.

This will enable us to have complete control of the domain we want to serve.


Ubuntu Intrepid - Apache Virtual Hosts #1

Now we have Apache installed and running, we can configure it to serve multiple domains using Virtual Hosts.

Do note the layout used in these articles is explained here - feel free to use the directories of your choice.


CentOS - Apache Virtual Hosts #2

Following on from the first CentOS - Apache Virtual Hosts article, we can now look in detail at some of the settings available to us in the Virtual Hosts file.

This will enable us to have complete control of the domain we want to serve.


CentOS - Apache Virtual Hosts #1

Now we have Apache installed and running, we can configure it to serve multiple domains using Virtual Hosts.

Do note the layout used in these articles is explained here - feel free to use the directories of your choice.


Ubuntu Intrepid - Apache config layout

Ubuntu Intrepid Ibex uses a different Apache layout than you may have encountered if you have used Apache with non-Debian based Operating Systems.

The differences are not huge and, indeed, help in configuring and deploying websites.


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.


Ubuntu Hardy - Nginx, rails and thin

Having installed the thin web server for Ruby, we can now look at configuring a Nginx vhost to proxy to thin so we can serve our Ruby on Rails application.

The process is easy to follow and easy to repeat for hosting multiple domains.


Ubuntu Hardy - Nginx, rails and mongrels

Following from the mongrel and mongrel cluster article, we can now look at configuring Nginx to proxy to a mongrel cluster so we can serve our Ruby on Rails application.

The process is very easy and can simply be repeated for serving multiple domains.


Ubuntu Hardy - Apache Virtual Hosts #2

Following on from the first Ubuntu Hardy - Apache Virtual Hosts article, we can now look in detail at some of the settings available to us in the Virtual Hosts file.

This will enable us to have complete control of the domain we want to serve.


Ubuntu Hardy - Apache Virtual Hosts #1

Now we have Apache installed and running, we can configure it to serve multiple domains using Virtual Hosts.

Do note the layout used in these articles is explained here - feel free to use the directories of your choice.


Ubuntu Gutsy - Nginx vhosts, rails and mongrels

There are several ways of serving a Ruby on Rails application, one of which is to use Nginx to proxy requests to mongrels.

There are a few ways of completing this and we're going to look at one solution. Other methods, such as using a mongrel cluster will be looked at in future articles.


Ubuntu Gutsy - Nginx, SSL and vhosts

So you've followed the Nginx self signed certificate article and now you want to configure Nginx to serve your site on the standard HTTPS port (443).

With Nginx, it is very easy to configure your virtual host to use a secure connection.


Ubuntu Gutsy - Nginx Virtual Hosts #2

The previous Ubuntu Gutsy Nginx Virtual Hosts article introduced the basics of the setting up virtual hosts.

This allowed us to serve multiple domains from a single IP address and Slice. Now we can look in detail at some more settings available to us in the Virtual Hosts files.


Ubuntu Gutsy - Apache, SSL and vhosts

So you have a new SSL certificate (see here for self signed certs) and you want to configure Apache to serve your site on the standard HTTPS port (443).

No problem, it's easily done with a new Apache vhosts configuration file.


Ubuntu Gutsy - Apache Virtual Hosts #2

The previous Ubuntu Gutsy Apache Virtual Hosts article introduced the basics of the setting up virtual hosts.

This allowed us to serve multiple domains from a single IP address and Slice. Now we can look in detail at the settings available to us in the Virtual Hosts files and introduce some new ones.


Ubuntu Gutsy - Apache Virtual Hosts

Now we have Apache installed and running, we can configure it to serve multiple domains using Virtual Hosts.

Do note the layout used in these articles is explained here - feel free to use the directories of your choice.


Ubuntu LTS - Apache, SSL and vhosts

Secure connections to your website are vital when entering passwords or entering administration areas.

This article will take you through creating a self-signed certificate and configuring your virtual host to use https (port 443) connections.


Ubuntu LTS - Apache Virtual Hosts #2

The previous Ubuntu LTS Apache Virtual Hosts article introduced the basics of the setting up virtual hosts.

This allowed us to serve multiple domains from a single IP address and Slice. Now we can look in detail at the settings available to us in the Virtual Hosts files and introduce some new ones.


Ubuntu LTS - Apache Virtual Hosts

Now we have Apache installed and running, we can configure it to serve multiple domains using Virtual Hosts.

Do note the layout used in these articles is explained here - feel free to use the directories of your choice.


Ubuntu Feisty - Apache, SSL and vhosts

Secure connections to your website are vital when entering passwords or entering administration areas.

This article will take you through creating a self-signed certificate and configuring your virtual host to use https (port 443) connections.


Ubuntu Feisty - Apache Virtual Hosts #2

The previous Ubuntu Feisty Apache Virtual Hosts article introduced the basics of the setting up virtual hosts.

This allowed us to serve multiple domains from a single IP address and Slice. Now we can look in detail at the settings available to us in the Virtual Hosts files and introduce some new ones.


Ubuntu Feisty - Apache Virtual Hosts

Now we have Apache installed and running, we can configure it to serve multiple domains using Virtual Hosts.

Do note the layout used in these articles is explained here - feel free to use the directories of your choice.


Debian Etch - Apache, SSL and vhosts

Securing connections to your website are vital when entering passwords or entering administration areas.

This article will take you through creating a self-signed certificate and configuring your virtual host to use https (port 443) connections.


Debian Etch - Apache Virtual Hosts #2

The previous Debian Apache Virtual Hosts article introduced the basics of the setting up virtual hosts.

This enabled us to serve multiple websites from a single IP address and Slice. Let's look at some of the settings available to us in the Virtual Hosts files and introduce some new ones.


Apache Virtual Hosts - permissions

One thing that can cause concern and configuration headaches is virtual hosts permissions.

Using the multiple hosts layout in this article is a good way of keeping your domains in one place and with easy access. Let's take a look at the permissions of the folders.


Debian Etch - Apache Virtual Hosts

Now we have Apache installed and running, let's configure it to serve two different domains using Virtual Hosts.

Do note the layout used in these articles is explained here - feel free to use the directories of your choice.


Introduction to Virtual Hosts

The term Virtual Hosts is used a great deal when setting up your Slice. Let's take a look at what Virtual Hosts are and why they are important.

It is also worth noting that the term Virtual Hosts is used with all web servers. Once you have the principle clear in your mind, it makes setting them up on any web server much easier.


Multiple hosts layout

During these articles I will be talking about different operating systems, different web servers and different, er, stuff.

To make things easier to understand and reference between articles and systems, I will use a 'standard' layout for hosting multiple sites (virtual hosts). Let me explain the layout I use.