diff --git a/views/wizards/host-integrations/cloudways-instructions.php b/views/wizards/host-integrations/cloudways-instructions.php index 92f9ffce..9ce7860d 100644 --- a/views/wizards/host-integrations/cloudways-instructions.php +++ b/views/wizards/host-integrations/cloudways-instructions.php @@ -20,10 +20,22 @@

Additional Step – Extra Domains

The Cloudways API is a bit strange in that it doesn’t offer a way to add or remove just one domain, only a way to update the whole domain list. That means that Ultimate Multisite will replace all domains you might have there with the list of mapped domains of the network every time a new domain is added.

-

If there are domains you want to keep on the list, use the WU_CLOUDWAYS_EXTRA_DOMAINS as demonstrated below, with a comma-separated list of the domains you wanna keep (this is useful if you need a wildcard setting, for example, that needs to be on that list at all times).

-
define('WU_CLOUDWAYS_EXTRA_DOMAINS', '*.yourdomain.com,extradomain1.com,extradomain2.com');
+

If there are external domains you want kept on the Cloudways aliases list (domains outside your multisite network — for example, a separate marketing site or a parked domain), use the WU_CLOUDWAYS_EXTRA_DOMAINS constant with a comma-separated list:

+
define('WU_CLOUDWAYS_EXTRA_DOMAINS', 'extradomain1.com,extradomain2.com');

Here’s how it should look on your wp-config.php (fake values used below):

+

+

+

+

+
    +
  1. +
  2. +
  3. +
+

+

+

You’re all set!

Now, every time a new domain is mapped in the network (via the Aliases tab by the network admin or via the custom domain meta-box on the user’s Account page) will be added to the Cloudways platform automatically.

The same is true for domain removals. Every time a domain is deleted from the network, that change will be communicated to your Cloudways account instantly!