Wildcard Subdomains and DNS

You may need to set up a wildcard subdomain, and this can be done within your cPanel account. A wildcard DNS record is a record that matches requests for non-existent domain names. A wildcard DNS record is specififed by using the * symbol to create a record for the *.yourdomain.com. The most common applications for a wildcard subdomain is for use with SSL or WordPress MU.

Creating a Wildcard Subdomain

First, log into your cPanel account and under the “Domains” section select “Subdomains”:

Next, in the first open field, place a * symbol there signifying that you are creating a wildcard subdomain and click “Create“.

Congratulations! You have now successfully set up your account for wildcard domains. You still may need to modify your .htaccess file. However, if you have set up wildcard subdomains for WordPress Multisite, it will automatically configure the .htaccess file for you.