How to enable wildcard subdomains?

AA-00323

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

This is also useful when someone mistypes www for example and writes ww.yourdomain.com.

In other words, with wildcard subdomains it won’t matter whether someone accesses your site through ww.yourdomain.com or wwwwww.yourdomain.com.

The easiest way to enable wildcard subdomains is to create a new subdomain in your cPanel with the subdomain name * ,this will then create a wildcard subdomain, you then need to choose which folder your want the wildcard to resolve to, you do this in the document root box.