How do I enable CloudFlare?


  • Applies to: Grid
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Account Center access
  • Applies to: All DV
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Account Center access
  • Applies to: DV Developer
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Account Center access
  • Applies to: DV 4.0
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Account Center access

Overview

CloudFlare is a performance and security service that (mt) Media Temple is offering to our customers for free. It is a CDN (content delivery network) with a security layer.

Once a website is part of the CloudFlare community, its web traffic is routed through CloudFlare's global network. CloudFlare's network stores a copy of static files closer to web visitors, which means they are delivered more quickly than before. CloudFlare caches resources such as CSS, JavaScript and images. CloudFlare's technology automatically decides which resources to cache based on file extension names so there is zero-configuration. CloudFlare also does compression for every request. CloudFlare's network also blocks threats and limits abusive bots before they hit the server, which means less wasted bandwidth and server resources.

For the Grid, you also get Railgun for free when you enable CloudFlare. Please click here for more information on how Railgun can help speed up your dynamic content.

Instructions

  1. Log into your Account Center.
  2. Click the Add New Service button at the top right of your screen.
  3. Scroll down to the Add-On Services section. Click the Activate button to the right of CloudFlare.

    Activate CloudFlare

  4. You will be prompted to create a CloudFlare account, or input the credentials for your existing account.

    Select CloudFlare Account

    NOTE:

    If you have already linked a CloudFlare account to your (mt) Media Temple account for another server, this step will be automatically skipped.

  5. Once you have finished linking your CloudFlare account or creating a CloudFlare account, you will have the option to activate CloudFlare on your domains. Domains are sorted into two groups:
    • Eligible Domains: These are domains that have been added to your (mt) Media Temple account on one of your servers and are currently using (mt) Media Temple's nameservers.
    • Ineligible Domains: These are domains that have been added to your (mt) Media Temple account on one of your servers, but are not using (mt) Media Temple's nameservers.

    NOTE:

    You must use the (mt) Media Temple nameservers to take advantage of CloudFlare integration. If your domain is ineligible, you will need to switch to our nameservers before proceeding.

  6. To activate CloudFlare on an ellgiible domain name, click the Activate button to the right of that domain.

    CloudFlare Domain Selection

    TIP:

    You may also want to install mod_cloudflare on your DV(ve). For more information, please see: http://www.cloudflare.com/wiki/Log_Files#For_Apache_Users.

  7. Click the Activate button to confirm CloudFlare activation. CloudFlare Activation Confirmation
  8. Please be patient. This step can take a few minutes as CloudFlare scans your zone file.
  9. Next, CloudFlare will ask which subdomain(s) you'd like to activate, if any exist. The 'www' subdomain will be selected automatically. Select any others you wish to activate, then click Continue to proceed.

    Select Subdomains


    NOTE:

    For the DV and (ve) Servers, you can only add www.example.com. If you would like custom DNS settings, you will need to point your nameservers to CloudFlare. You can find your CloudFlare nameserver information by going to the DNS settings option in your CloudFlare account dashboard (Settings->DNS Settings).

  10. Congratulations! You've successfully activated CloudFlare service on your domain. You will see the following message.

    Activation Completed

Resources