You can create a Wildcard DNS record through cPanel by simply creating a subdomain and using an asterisk symbol. Follow the steps below to set this up.
Step 1: Login into your cPanel account (please see How To Access cPanel if not familiar how)
Step 2: Head to your Domains section and select Subdomains
Step 3: In the Subdomain text box enter an asterisk “*” symbol
Step 4: Choose a domain from the dropdown you want to associate the Wildcard subdomain with and press tab to autocomplete the document root
Step 5: The Document Root text box will auto-generate
Step 6: Click the Create button
What Is A Wildcard DNS Record?
A Wildcard DNS record makes it possible for any subdomain to be linked to your primary domain. The content shown on the subdomain will be the same throughout whether someone types in somesubdomain.yourdomain.com or yourdomain.com.