-
-
Couldn't load subscription status.
- Fork 63
Cloudways Integration
Cloudways is a managed cloud hosting platform that allows you to deploy WordPress sites on various cloud providers like DigitalOcean, AWS, Google Cloud, and more. This integration enables automatic domain syncing and SSL certificate management between Ultimate Multisite and Cloudways.
- Automatic domain syncing
- SSL certificate management
- Support for extra domains
- DNS validation for SSL certificates
The following constants must be defined in your wp-config.php file:
define('WU_CLOUDWAYS_EMAIL', 'your_cloudways_email');
define('WU_CLOUDWAYS_API_KEY', 'your_api_key');
define('WU_CLOUDWAYS_SERVER_ID', 'your_server_id');
define('WU_CLOUDWAYS_APP_ID', 'your_app_id');Optionally, you can also define:
define('WU_CLOUDWAYS_EXTRA_DOMAINS', 'comma,separated,list,of,domains');- Log in to your Cloudways dashboard
- Go to "Account" > "API Keys"
- Generate an API key if you don't already have one
- Copy your email and API key
- In your Cloudways dashboard, go to "Servers"
- Select the server where your WordPress multisite is hosted
- The Server ID is visible in the URL:
https://platform.cloudways.com/server/{SERVER_ID} - Go to "Applications" and select your WordPress application
- The App ID is visible in the URL:
https://platform.cloudways.com/server/{SERVER_ID}/application/{APP_ID}
Add the following constants to your wp-config.php file:
define('WU_CLOUDWAYS_EMAIL', 'your_cloudways_email');
define('WU_CLOUDWAYS_API_KEY', 'your_api_key');
define('WU_CLOUDWAYS_SERVER_ID', 'your_server_id');
define('WU_CLOUDWAYS_APP_ID', 'your_app_id');If you have additional domains that should always be included:
define('WU_CLOUDWAYS_EXTRA_DOMAINS', 'domain1.com,domain2.com,*.wildcard.com');- In your WordPress admin, go to Ultimate Multisite > Settings
- Navigate to the "Domain Mapping" tab
- Scroll down to "Host Integrations"
- Enable the Cloudways integration
- Click "Save Changes"
When a domain is mapped in Ultimate Multisite:
- The integration retrieves all currently mapped domains
- It adds the new domain to the list (along with a www version if applicable)
- It sends the complete list to Cloudways via the API
- Cloudways updates the domain aliases for your application
Note: The Cloudways API requires sending the complete list of domains each time, not just adding or removing individual domains.
After domains are synced:
- The integration checks which domains have valid DNS records pointing to your server
- It sends a request to Cloudways to install Let's Encrypt SSL certificates for those domains
- Cloudways handles the SSL certificate issuance and installation
The WU_CLOUDWAYS_EXTRA_DOMAINS constant allows you to specify additional domains that should always be included when syncing with Cloudways. This is useful for:
- Domains that are not managed by Ultimate Multisite
- Wildcard domains (e.g.,
*.example.com) - Development or staging domains
- Verify that your email and API key are correct
- Check that your server and application IDs are correct
- Ensure that your Cloudways account has the necessary permissions
- Cloudways requires that domains have valid DNS records pointing to your server before issuing SSL certificates
- The integration validates DNS records before requesting SSL certificates
- If SSL certificates are not being issued, check that your domains are properly pointing to your server's IP address
- Check the Ultimate Multisite logs for any error messages
- Verify that the domain is not already added to Cloudways
- Ensure that your Cloudways plan supports the number of domains you're adding
- Ultimate Multisite 101
- Basic Concepts
- What is WordPress Multisite?
- Ultimate Multisite Requirements
- Why Ultimate Multisite
- Installing Ultimate Multisite (v2)
- How do I Install WordPress Multisite?
- Understanding the Ultimate Multisite Dashboard
- Understanding your Dashboard (v2)
- Touring the Admin Panel
- Managing Customers
- Managing Sites
- Managing Memberships (v2)
- Managing Payments and Invoices
- Managing System Emails
- Site Templates (v2)
- Auto Search and Replace in Site Templates (v2)
- Checkout Forms
- Creating your First Subscription Product (v2)
- Creating Discount Codes (v2)
- Managing Shareable Links for Plans
- Customizing your Registration Form
- The Registration Flow (v2)
- How to Configure Domain Mapping (v2)
- How to configure domain mapping (v1)
- Setting the Sunrise constant to true on Closte
- Closte Integration
- Cloudflare Integration
- Cloudways Integration
- cPanel Integration
- GridPane Integration
- RunCloud Integration
- ServerPilot Integration
- WP Engine Integration
- WPMU DEV Integration
- Setting Up The Stripe Gateway (v2)
- Setting Up The PayPal Gateway (v2)
- Setting Up Manual Payments (v2)
- Getting Started with the PayFast Payment Gateway
- Getting Started with the GoCardless Payment Gateway
- Getting Paid (v2)
- Tax Handling
- Your Client's Account Page (v2)
- Your Client's Websites (v2)
- Upgrading a Plan (v2)
- Downgrading a plan (v2)
- Canceling a Membership (v2)
- How can I access my account page for the first time?
- How can I cancel my subscription?
- Setting Up The WooCommerce Integration (v2)
- Integrating Ultimate Multisite with Zapier
- Event: Register an account via Zapier
- Using Ultimate Multisite: MailChimp Integration
- Using Ultimate Multisite: AffiliateWP Integration to create your own referral program for Ultimate Multisite
- A First Look on Webhooks (v2)
- Customizing your Admin Panel with PRO Theme
- Customizing your Admin Panel with Material WP
- Placing Ads on your network with Ultimate Multisite: Ad Injector
- Creating Custom Admin Pages and Sub-pages using Ultimate Multisite: Admin Page Creator
- Editing Plugins and Themes Meta Information with Ultimate Multisite: Plugin and Theme Manager
- Ultimate Multisite Hooks and filters
- The Ultimate Multisite Register API endpoint
- How to use Ultimate Multisite snippets on our GitHub repository
- Code Snippets for v2
- How to Get Custom Development Help from Codeable?
- Translating Ultimate Multisite
- Activating Ultimate Multisite: Language Selector
- Re-ordering the Ultimate Multisite country list