Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  Web Hosting FAQ  >  Steps to Use the Wildcard Subdomains
Top Scroll

Steps to Use the Wildcard Subdomains

 2 min

When you want to redirect all visitors to your main website regardless of the subdomain through which they access your website, Wildcard subdomains play a key role.

Simply speaking, when a wildcard subdomain is used to access your site either via or, it won’t matter at all. This means that they will still be taken to the home page.

To create a Wildcard subdomain, follow the below steps:

• Log in to cPanel.

• Navigate to Subdomains.

• Type in * in the “subdomain” field.

• Select from the drop-down list.

• Ensure that you select the same Document Root for the Wildcard subdomain as the one for

So, your wildcard subdomain will be * and will have the same Directory Root (if it isn’t defined otherwise) as

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
Claim the discount before it’s too late. Use the coupon code:
Note: Copy the coupon code and apply it on checkout.