How to use wildcard subdomains?

Wildcard subdomains are useful when you wish to redirect all visitors to your main website regardless of what subdomain they access your website through.

In other words, with a wildcard subdomain it will not matter whether someone accesses your site through or, they will still be taken to your home page.

To create a WildCard subdomain:

  • Log in cPanel
  • Go to Subdomains
  • Type in * in the "subdomain" field
  • Choose from the drop-down list
  • Make sure to choose the same Document Root for the WildCard subdomain as the one for

The wildcard subdomain will be * and will have the same Directory Root (if not defined otherwise) as

cPanel is easy to work with when you have the right host to support you. If you need a reliable partner to help you manage your website with cPanel, check out our cPanel hosting services!