Wildcard subdomains can be helpful when your domain uses many dynamic or user-generated subdomains, like user1.example.com, user2.example.com, etc.
Setting Up a Wildcard Redirect
You can configure a wildcard redirect by using a wildcard source, such as:
*.example.comThis will redirect all subdomains of example.com.
Want to capture the subdomain name in your destination URL? Use destination variables to dynamically route traffic based on the incoming subdomain.
Important Notes
- Availability: Wildcard subdomains are available starting from the Pro plan.
- Billing Impact: Each wildcard redirect counts as 10 source hostnames for billing purposes. For example, one
*.example.comredirect will be treated as 10 source hostnames in your plan usage. - SSL Support: We provide SSL certificates using DNS-based validation via
_acme-challenge. - DNS Configuration:
- Add an A or CNAME record for
*.example.compointing to our redirect service. - Set a NS record for
_acme-challenge.example.comto enable the ACME DNS challenge.
- Add an A or CNAME record for
For an in-depth guide on wildcard redirect setup and SSL handling, see Wildcard Redirects: When and How to Use Them. If your wildcard redirect isn't working after DNS changes, check our troubleshooting tips.
