Skip to content

Advanced Domain Manager

The Advanced Domain Manager in FlyWP provides a robust interface for managing domain configurations associated with a WordPress site. This feature supports the assignment of primary domains, HTTP redirects, domain aliases, and wildcard subdomain handling, streamlining complex domain setups in a production environment.

FlyWP’s domain management utility facilitates:

  • Mapping multiple domains to a single WordPress instance.
  • Configuring redirection logic for SEO and usability.
  • Assigning domain aliases for alternate access points.
  • Enabling wildcard subdomain resolution for dynamic or multisite architectures.

To associate a new domain with your WordPress site, follow these steps:

  1. In your site dashboard, navigate to Settings → General.

  2. Locate the Site Domains card and select Add New Domain.

    Settings General page with the Add New Domain button in the Site Domains card highlighted

  3. Within the domain creation modal, specify the following:

    • Name: The fully qualified domain name (FQDN), e.g., example.com.
    • Type: The operational role of the domain:
      • Primary – The canonical domain for the site.
      • Redirect – Non-canonical domain that performs an HTTP 301 or 302 redirect to the primary domain.
      • Alias – Additional domain that resolves directly to the site without redirection.
    • Enable wildcard subdomains (optional): Enable this to allow *.example.com to resolve to the site.
    • Add DNS record on Cloudflare (optional): If a connected Cloudflare account is selected, FlyWP will automatically manage the DNS record.
  4. Click Add Domain.

Screenshot 2025 07 15 at 14.22.50

DNS configuration (e.g., A or CNAME records) should be updated at your domain registrar to point to the server’s IP address prior to domain validation.

Domains added to a site are displayed under the Site Domains section, with metadata including:

  • Domain: The FQDN assigned.
  • Type: Role classification (Primary, Redirect, Alias).
  • Redirect To: Target domain for redirect configurations.

To designate a domain as the primary:

  1. Hover over the star icon associated with the desired domain.

  2. Click Make Primary Domain.

    Site Domains table with the star icon highlighted

  3. In the confirmation dialog, click Make Primary. This action updates the canonical domain and internal site URLs.

Screenshot 2025 07 15 at 14.35.05

  1. Click the edit (pencil) icon beside the domain entry.

    Site Domains table with the edit pencil icon highlighted

  2. Modify domain attributes (e.g., type, wildcard setting).

  3. Click Update Domain to apply changes.

Screenshot 2025 07 15 at 14.29.33

To delete a domain association:

  1. Click the delete (trash) icon next to the domain.

    Site Domains table with the delete trash icon highlighted

  2. Confirm the deletion prompt.

Screenshot 2025 07 15 at 14.36.23

Once removed, the domain will cease to resolve to the site, and any inbound traffic will be rejected or unresolved at the DNS or web server layer.

Enabling Wildcard Subdomain functionality allows any subdomain under a base domain (e.g., *.example.com) to resolve to the application without explicitly defining each subdomain.

Screenshot 2025 07 15 at 14.39.22

  • Subdomain-based multi-tenancy.
  • SEO-friendly campaign URLs.
  • Dynamic routing for user-specific or instance-specific deployments.

DNS wildcard A or CNAME records must also be configured accordingly (e.g., *.example.com → server IP).

ScenarioConfiguration
Migrate from oldsite.com to newsite.comSet newsite.com as Primary, configure oldsite.com as Redirect
Access site from multiple branded domainsConfigure additional domains as Aliases
Host user instances on subdomains (e.g., user1.example.com)Enable Wildcard Subdomains on example.com

  • DNS propagation delays may affect initial domain resolution.
  • SSL certificates: when a domain becomes the primary domain, FlyWP issues a Let’s Encrypt certificate for it only if the site was set up with HTTPS (Let’s Encrypt). Alias and other extra domains need SSL activated separately from the site’s SSL page.
  • Changing the primary domain may temporarily disrupt SEO indexing or analytics unless 301 redirects are configured properly.

Still stuck? How can we help?

View as Markdown