Articles

How to Use Wildcard Subdomains

If you have a site that uses an ever-increasing number of subdomains, such as WordPress Multisite, ServerPilot makes it easy to add a wildcard subdomain to your app so that requests for any subdomain will work for your app.

First, open the Settings tab of your app in ServerPilot.

Then, enter a wildcard subdomain into your app's Domains field, using the standard asterisk (*) format:

*.yourdomain.com

Click + Add.

All requests for your subdomains will now work for your app.

Make sure to configure your DNS with a wildcard subdomain pointing to your server.