Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Integrates with the CloudFlare Host API (http://www.cloudflare.com/docs/host-api.html) to create CloudFlare accounts and Zones. Implements all of the exposed methods except host_key_regen.

This module offers a full CloudFlare Host API class that can be extended as well as a UI for managing CloudFlare hosting accounts.

Installation:
* Install the module
* Visit /admin/config/cloudflare-host
* Enter your CloudFlare Host API Key
* Visit /cloudflare-host
* If you have existing accounts, click "Sync Accounts"

Create a CloudFlare Hosting Account:
* Click "Add Account"
* Enter a customer email address and password

Create a CloudFlare Domain Zone:
* View an existing Hosting Account
* Click "Create a new domain record"
* Enter the zone (ie: example.com)
* Enter the 1st cname (ie: www.example.com)
* Enter the resolvable A record (ie: cloudflare.example.com => should resolve to the actual IP for www.example.com)
* Save the Domain Zone

DNS & Web Configuration (at your DNS and Web Host)
* Create an A Record for your resolvable subdomain (ie: cloudflare.example.com = xxx.xxx.xxx.xxx)
* Create a CNAME record to match the "CNAME Value" of the record on the account view page (ie: www.example.com = www.example.cdn.cloudflare.net)
* Update you .htaccess to forward requests to www.example.com

CloudFlare Configuratoin
* Login to https://www.cloudflare.com/login with the username and password created above

Project information