Now that weʼve got our AEgir instance setup and running, you may be asking yourself, “what now?” AEgir can be somewhat perplexing if youʼre unfamiliar with the multisite file structure so weʼll start by discussing some of the terminology.
Sites are exactly what they sound like. These are the individual Drupal instances hosted on your AEgir install. Each site has its own database and is treated as a completely separate Drupal instance although they share the same codebase within the platform theyʼre installed on.
Platforms are the different Drupal profiles available to you when creating sites. Multiple sites can share a platform. It is important to remember that when updating a platform, youʼre updating every site that uses it.
IMPORTING AN EXISTING DRUPAL SITE
- Upload your entire core into the /var/aegir/platforms/platorm_name folder.
- From your AEgir dashboard add a new platform and make sure you set the publish path to the /var/aegir/platforms/platorm_name folder.
- Add a new site using the newly created platform. Weʼll call it www.yoursite.com.
- Move all site files from sites/default/files to sites/www.yoursite.com/files.
- Use drush or backup_migrate to import the websites database.
- Use the AEgir migrate task to change the path of the site from www.yoursite.com to www2.yoursite.com and then back. (This will help correctly reset all file paths in the database)