In the previous chapter we set up a server environment for running Drupal. In this chapter, we are going to install Drupal and create three different sites. We will cover:
Downloading and installing the code
Creating a default site
Adding two additional sites
While we are setting up three sites, there is nothing special about that number. A multi-site can have two or more sites.
When preparing our environment for setting up a Drupal multi-site, we first walked through a setup using a special Vagrant virtual machine profile. Then we looked at the manual configurations necessary for Apache and for MySQL. Specifically, we set up an Apache virtual host capable of listening for all three of our hosts (books.local, cooks.local
, and looks.local)
. Then we created three databases in MySQL: books_local, cooks_local
, and looks_local
.