Knowledgebase: Domains & DNS
Set Up a Wildcard Subdomain
Posted by ASO Admin on 19 February 2020 08:09 AM

Wildcard subdomains allow users of a domain-based WordPress multisite network to create new sites on demand. In this type of network each new site has its own subdomain, and the wildcard configuration means that those subdomains do not have to be configured individually. A wildcard subdomain may also be useful if you're interested in setting up a Wildcard SSL.

To create a wildcard subdomain:

  1. Log into your cPanel account

  2. In the Domains section, click Subdomains 

  3. In the Create a Subdomain section type '*' (asterisk without the single quotes)
    Note: by putting an asterisk, you'll be creating '*'), your wildcard subdomain.

  4. From the next dropdown menu choose the domain you want to be the parent of your new subdomain (if you have more than one domain in your cPanel account)

  5. Enter the home directory for the subdomain in the Document Root text box

    Note: this directory will be where files that pertain to the subdomain will be placed. You'll want to point it to the same folder location that your 'wp-config.php' file is located.

  6. ​Click the Create button

 subdomains.png (34.58 KB)
 newsubdomain.png (21.38 KB)
(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
Help Desk Software by Kayako fusion