Home > DNS > How to enable wildcard subdomains?

How to enable wildcard subdomains?

These are the steps required to enable wildcard subdomains:
1. Log into cPanel.
2. Navigate to "Subdomains" section.
3. Create a subdomain "*" pointing it to necessary folder (you will need to specify the path in the "Document Root").
4. Go to the "Advanced DNS Zone Editor" section.
5. Make sure that there is an A record for *.yourdomain.com created and pointed to the server IP address (or your account IP address).
6. Now you just need to give time for DNS propagation and the wildcard subdomain will work fine afterwards.