cPanel now offers support for wildcard subdomains. You can set up a wildcard subdomain following this quick guide:
Â
- Log in cPanel.
- Click "Domains".
- Click "Create A New Domain"
- Enter the wildcard subdomain in the "Domain" field (*.yourdomain.com for example).
- If you do not like the suggested document root, you can edit the "Document Root" field, or leave it as is.
- Click "Submit".
To confirm that your wildcard subdomain was created, you can navigate back to cPanel's main page and select the "Zone Editor", then click "Manage" next to your domain and confirm the presence of a wildcard A record.