Install And Use Drupal on Cloud Sites

  • Last updated on: 2016-06-21
  • Authored by: Rackspace Support

Note: This article is written for our Cloud Sites Control Panel. You can get to it from the Cloud Control Panel by clicking Rackspace Cloud in the upper-left corner and selecting Cloud Sites. You can also navigate directly to

Note: It’s possible to use an easy one-click install process with Drupal on Cloud Sites instead of the instructions below. For more details, please see this blog post.


  • Administrative access to the Rackspace Cloud to create domains and add databases
  • Latest Drupal version from uncompressed in a local repository.
  • ftp access to website, and a ftp client like ExpanDrive


  1. Log in to the [Cloud Sites Control Panel]( “ ”)
  2. Navigate the Hosting > Cloud Sites menu to the website hyperlink on which Drupal is to be installed.

    Note: The domain must have php enabled, and database feature selected. The database feature can be added by using the CHANGE PLAN hyperlink on the domain General Settings tab.

  3. Upload Drupal files from the local repository to the desired location on the website using FTP - Refer to Upload content to a website using FTP
    • To integrate Drupal to the root of domain (e.g., place all contents of the unzipped Drupal directory (but excluding the directory itself) into the root directory of web/content.
    • To have the Drupal installation in its own subdirectory on the website (e.g., rename the directory drupal to the name of choice and place it on the web server, for e.g. for drupal in a subdirectory called “info”, rename the directory called “drupal-xx” to “info” and upload it to /web/content/.
  4. Create a new Mysql database (e.g. <prefix>_drupal62) with user (e.g. <prefix>_drupal62) For more information, see Add a MySQL database to a website or domain).
  5. Note the database information a) database name b) user name c) password d) hostname (not localhost) for use during the Drupal installation.

With the preivous steps completed, the Cloud Sites specific steps are complete. The following steps start the process of installing Drupal.

  1. Copy the default.settings.php file to file settings.php in the /sites/default and ensure write permissions on settings.php
  2. Visit the index page of the website, (e.g. visit:
  3. If DNS is not setup for the domain, use the Testing URL, (e.g. visit: The installation page will display. Follow the on screen prompts to continue the installation.
  4. Select the language in which to complete the install and run the application.
  5. Make any necessary changes after the install script has checked permissions on the /sites/default directory.
  6. Click Advanced Options and enter database connection information for the Database Host field from “localhost” to the appropriate database hostname. Drupal will now create the required tables for the site’s database.
  7. Provide details concerning the site and admin account. Click the Save & Continue button.
  8. After the installation completes, revert permissions on the /sites/default directory and configuration file back to 755 for security purposes if needed.
  9. To use “clean URLs” through mod_rewrite, modify Drupal’s .htaccess file. After “RewriteEngine on,” ensure there is a “RewriteBase /” on the next line. If the Drupal install is in a sub-directory, then include the subdirectory e.g. “RewriteBase /info”.
  10. Drupal is fully functional and the software can now be accessed based on where it was installed.
    • If Drupal files are placed in the root directory, e.g. visit:
    • If Drupal is in its own subdirectory called info, e.g. visit:
    • If DNS is not setup for the domain, visit the Testing URL provided in the Classic Cloud Control Panel under then General Settings tab, e.g.
  11. Sign in as the administrator and customize site as needed.
  12. For better performance and to reduce use of compute Cloud Sites compute cycles, turn on normal caching.

Additional Resources

Continue the conversation in the Rackspace Community.