I would like to add to an existing site, which wasn't written in Drupal, a sub site, which is in Drupal. The existing site already has a domain, and this would be a sub domain. I'm using Apache2 and Ubuntu 12.04. How should I do this?
There are several prerequisites for running Drupal. You can install these with apt-get:
Previously installed packages will be skipped.
Unzip Drupal in its own directory. Assuming your top-level site is in
If you need to place the Drupal installation outside of the domain's directory, you can add an Alias directive to the top-level domain definition in
This will direct Apache to use the physical directory as a site subdirectory.