cloudsites

Optimizing Drupal on Rackspace Cloud Sites

With any shared hosting, there are trade offs that need to be made. Some shared hosts limit the amount of resources you can have while others are a little more flexible. Fortunately for us, Cloud Sites is one of the flexible ones. Cloud Sites has boosting capabilities, DDoS protection, and a bunch of other cool things that make sites secure and run as smoothly as possible.

Planning

When installing any CMS software, this simple reality is easily forgotten. Like a kid with a new toy, many people install Drupal -- really install Drupal and about 90,000 contributed modules they don't need. Sure, the functionality sounds great, but do you absolutely need it? In most cases, probably not.

Updates

Another thing that tends to get a reasonably low status is maintenance. Every software package requires updates from time to time and you shouldn't let your Drupal installation fall behind.

Boost

SysLog vs. Database Logging

DB Module

Mod_Deflate

AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript

Fast 404

CDN

Memcache

Whoa, memcache on a shared system?! One of the most powerful things Cloud Sites can do is access remote servers and resources

Drupal on Rackspace Cloud Sites

This document provides information about how to install and work with Drupal on the Rackspace Cloud Sites product. It covers setup, installation, and caching.

Create Cloud Site

  1. Log in to Rackspace Cloud Management Panel.
  2. Click Hosting.
  3. Select Cloud Sites.
  4. Select Add A Site.

You may refer to the official Rackspace document for additional information.

Create CloudSite Database

  1. Select the Features tab.
  2. Click Add.
  3. Enter the database name.
  4. Enter the database user name.
  5. Enter the database password.
  6. Select Finish.

The database will be created and may take a few moments for it to appear ready. Make sure you take note of the database user name, password, and hostname for the installation.

Configure .htaccess File

Before uploading your Drupal installation, it is good to prepare your .htaccess file. This will make your installation go smoothly. In your .htaccess file, scroll down to the PHP override section. It will look similar to what you see below.

Recommended settings are:


# PHP 5, Apache 1 and 2.

Read more
Subscribe with RSS Syndicate content