Learn how to use WordPress Multi-Site (WPMU) with Cloudflare.
WPMU (WordPress Multi-User) is the earlier version of WordPress Multi-Site, which is now part of the core WordPress software.
To use a WPMU site configuration with Cloudflare, do the following:
1. Add the root domain to Cloudflare (example.com) and point the DNS to Cloudflare, using the Cloudflare nameservers specified during the signup process and making the DNS change at your registrar.
2. Define the wildcard subdomains in your DNS zone file during the signup process. Cloudflare cannot proxy wildcard DNS entries, so to benefit from Cloudflare performance and security, you must explicitly define any entries in your zone file as either CNAMEs or A record entries.
Note: Having a proxy run over wildcard entries is available only at the Enterprise tier of service. The information above is related to customers on other Cloudflare plans. If you are looking for Enterprise support or quotes, then please create an Enterprise request via the form for a quote.
Other recommended steps:
1. Install the Cloudflare WordPress plugin to restore original visitor IP at the WordPress commenting level.
2. Install mod_cloudflare (or equivalent) so original visitor IP is restored at your server level.