If you’re adding a domain with multiple wildcard A records, you’ll need to go through a few additional steps in order to get it verified and pointed to Kinsta.

The steps below are only applicable for domains with multiple wildcard A records. If your domain does not make use of wildcard A records, you don’t have to go through these additional steps when adding a domain to your site.

What is a Multiple IP Domain?

First, let’s define what it means for a wildcard domain to be pointed to multiple IP addresses. In most cases, a wildcard subdomain will have a single A record pointing to an IP address:

  • A record for *.domain.com pointing to 123.123.123.123.

However, in some cases a domain may point to multiple IP addresses. This kind of configuration is commonly used for DNS failover protection, round robin setups, and more:

  • A record for *.domain.com pointing to 123.123.123.123.
  • A record for *.domain.com pointing to 123.123.123.124.
  • A record for *.domain.com pointing to 123.123.123.125.

If you’re unsure whether your domain is pointing to multiple IP addresses, you can use a tool like WhatsMyDNS to check your subdomain’s A record(s). In the screenshot below, you can see that the subdomain sub.brianli.dev is pointing to multiple IP addresses.

Subdomain pointing to multiple IP addresses.

Subdomain pointing to multiple IP addresses.

Next, you’ll need to check whether the DNS records pointing to multiple IP addresses are set up as static (e.g. sub.brianli.dev) or wildcard (*.brianli.dev) A records. If your DNS configuration looks like the one below (wildcard A records), you’ll need to proceed with the rest of this tutorial.

Wildcard subdomain pointing to multiple IP addresses.

Wildcard domain pointing to multiple IP addresses.

How to Point a Multiple IP Domain to Kinsta

If we detect that your domain is configured with multiple wildcard A records, you’ll see a message like the one below after adding the domain in MyKinsta:

Verification for domain pointing to multiple IP addresses.

Verification for domain pointing to multiple IP addresses.

Step 1 – Point Your Domain to Existing Wildcard IPs

First, you’ll need to create static (non-wildcard) A records for the domain you’re trying to add to Kinsta. These A records should point to the IP addresses as your wildcard A records.

For example, if you’re trying to configure sub.brianli.dev, and have the wildcard A records below:

  • A record for *.brianli.dev pointing to 123.123.123.123.
  • A record for *.brianli.dev pointing to 123.123.123.124.
  • A record for *.brianli.dev pointing to 123.123.123.125.
  • A record for *.brianli.dev pointing to 123.123.123.126.

You should add the four A records below at your DNS provider.

  • A record for sub.brianli.dev pointing to 123.123.123.123.
  • A record for sub.brianli.dev pointing to 123.123.123.124.
  • A record for sub.brianli.dev pointing to 123.123.123.125.
  • A record for sub.brianli.dev pointing to 123.123.123.126.
Add static A records for your subdomain.

Add static A records for your subdomain.

Step 2 – Verify Your Subdomain

After you’ve added the A records, go to MyKinsta and click the Next button in the “Verify Domain” modal.

Verify subdomain in MyKinsta.

Verify subdomain in MyKinsta.

Next, you’ll be prompted to add one or more TXT records to verify ownership of your subdomain. The TXT record is formatted like the following:

  • Type: TXT
  • Hostname: _cf-custom-hostname.your-subdomain
  • Value: Unique UUID string.
TXT verification record details.

TXT verification record details.

Next, add this TXT record at your DNS provider.

Add TXT verification record.

Add TXT verification record.

After adding the TXT record, click Ok, I’ve Done It in MyKinsta.

Click “OK, I’ve Done It” in MyKinsta.

Click “OK, I’ve Done It” in MyKinsta.

Step 3 – Point Your Subdomain to Kinsta

From this point, MyKinsta will start the verification process for your subdomain. Depending on your DNS provider, this process may take a while due to DNS propagation. Once the verification has finished, you’ll see a Point Domain button in MyKinsta.

Looking for high-performance WordPress hosting powered by Google Cloud Platform’s fastest servers? Check out our plans.

“Point Domain” button in MyKinsta.

“Point Domain” button in MyKinsta.

Click the Point Domain button, and you’ll see your Kinsta “Site IP Address”.

"Site IP Address" in MyKinsta.

“Site IP Address” in MyKinsta.

Next, go to your DNS provider and remove the A records for your subdomain that you added earlier.

You only need to remove the A records you added for the subdomain you’re trying to add to Kinsta. You don’t need to remove the existing wildcard A records if they’re being used for something else.

Remove the A records for your subdomain that were added earlier.

Remove the A records for your subdomain that were added earlier.

Finally, add an A record for your subdomain pointing to your Kinsta “Site IP Address”.

Add an A record for your subdomain pointing to Kinsta.

Add an A record for your subdomain pointing to Kinsta.

After setting up this A record, you’ll see a checkmark next to your subdomain in MyKinsta after DNS has propagated. This means the subdomain has been set up successfully.

Successful subdomain configuration in MyKinsta.

Successful subdomain configuration in MyKinsta.

Summary

By default, subdomains pointing to multiple IP addresses via wildcard A records are not immediately compatible with Kinsta’s Cloudflare integration. However, with a few additional configuration steps, you’ll be able to get your subdomain verified and pointed to Kinsta.

If you have any questions about your multiple IP subdomain setup, reach out to our 24/7 support team for further assistance.


If you enjoyed this tutorial, then you’ll love our support. All Kinsta’s hosting plans include 24/7 support from our veteran WordPress developers and engineers. Chat with the same team that backs our Fortune 500 clients. Check out our plans