SET UP A WILDCARD SUBDOMAIN

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 '*.yourURL.com'), 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

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

ADD-ON DOMAINS

The Basics You can have multiple domain names share the space on your cPanel account. It works...

DOMAIN REGISTRATION

ICANN (Internet Corporation for Assigned Names and Numbers) regulates domain registrations and...

NAMESERVERS

What is a nameserver? A nameserver (sometimes called a DNS server) is what translates a domain...

PARKED DOMAINS

You've registered 'example.com' and signed up with Greenix360. But, you also have 'example.net'...

SUBDOMAINS

What IS a sudomain?  You have a domain name 'example.com'. A subdomain would look like...