Book Image

Drupal 7 Multi Sites Configuration

Book Image

Drupal 7 Multi Sites Configuration

Overview of this book

Drupal is one of the most powerful PHP Content Management Systems there is. However, why would you install a CMS for every site you build? With just one copy of Drupal you can host several sites. Drupal has long had multi-site support, and Drupal 7's support is even better than previous versions. Drupal 7 Multi-Sites Configuration will teach you how to host several websites on a single copy of Drupal. You will learn how to create different sites, each with its own domain, content, and theme. This valuable information will help you to save time by managing modules and sharing them across several sites as well as administering your sites all in one place.This book will show you how to configure a system for multi-site, and then install several sites on one copy of Drupal, all with their own domain name and database. Learn how to install and share modules and themes, configure Apache, PHP, and MySQL for multi-site, and then manage the site. Once your site system is successfully set up, discover some of the advanced configurations possible with Drupal multi-site, as well as how to upgrade and maintain your sites.
Table of Contents (11 chapters)

Downloading Drupal


In this section we are going to download Drupal and put it in the correct location on the file system. Again, if you have installed the Vagrant profile, this step is unnecessary. This is because the profile already downloaded and unpacked the most recent version of Drupal 7. Here we will see the manual version of the process Vagrant does automatically.

Note

Other Operating Systems

In the last chapter we focused on a Linux setup, but at this point it does not matter which operating system is running. While the commands shown here are on a UNIX shell, the same process is applicable to Windows and OS X. If you are using a database other than a MySQL-like database, you should consult Drupal's documentation to make sure there are no configuration nuances particular to that database.

Drupal is available for download from http://drupal.org/project/drupal. At the time of this writing, Drupal 7.12 is the current release. We will download it and move the contents to the web server...