If you’re adding a domain with multiple wildcard A records, you’ll need to go through a few additional steps 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 use 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 Subdomain?

First, let’s define what it means for a wildcard subdomain 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 subdomain 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 subdomain 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 similar to 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 subdomain pointing to multiple IP addresses.

Adding a Multiple IP Subdomain in MyKinsta

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

Verification for subdomain pointing to multiple IP addresses.

Verification for domain pointing to multiple IP addresses.

Step 1 – Point Your Subdomain to Existing Wildcard IPs

First, you’ll need to create A records for the specific subdomain you’re trying to add to Kinsta. These A records should point to the same 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 to sub.brianli.dev 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 multiple A records for your subdomain.

Add multiple 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/pop-up.

Click Next in the Verify domain modal/pop-up in MyKinsta.

Click Next in the Verify domain modal/pop-up in MyKinsta.

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 to your subdomain 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 for subdomain in MyKinsta.

Site IP address for a subdomain in MyKinsta.

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

Important

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.


Save time, costs and maximize site performance with:

  • Instant help from WordPress hosting experts, 24/7.
  • Cloudflare Enterprise integration.
  • Global audience reach with 28 data centers worldwide.
  • Optimization with our built-in Application Performance Monitoring.

All of that and much more, in one plan with no long-term contracts, assisted migrations, and a 30-day-money-back-guarantee. Check out our plans or talk to sales to find the plan that’s right for you.