How do I create a wildcard subdomain in cPanel?

Wildcard subdomains allow you to point all the subdomains ( existing and non-existing ) to aspecific folder in your account. It means that if you enter any subdomain in your browser ( for example, – not existing, or – existing), it will show the same content that you uploaded to the folder for the wildcard subdomain. 

In order to create a wildcard subdomain, please, follow the next steps:

1) Log in your cPanel

2) Navigate to the menu ‘Subdomains’ under 'Domains' section 


3) Create a subdomain‘*’ pointing it to the necessary folder ( you will need to specify the path in the field ‘Document Root’ ). 


4) Go to the menu ‘Advanced DNS Zone Editor’ 


5) Make sure that there is an A record for * created and pointed to the server IP address ( it could coincide with the IP address of your main domain or is pointed to). 


6) Now you will need to wait until the propagation is over ( it should take N seconds, where N – is TTL for this A record; you can edit it manually and reduce the number to speed up the process ) and then the wildcard subdomain will work correctly
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Please read before creating an Addon Domain.

About addon domains Addon Domains are handled like subdomains as far as the server is...

Where do I go to login to my control panel?

To log into your cPanel, you can go to any of the following links. Just make sure to customize...

What is the difference between parked, addon, and subdomains?

A subdomain is a second website, with its own unique content, but there is no new domain name....

What is an addon domain?

An addon domain is a fully functional domain that can be created from within your control panel....

File Manager

If you want to upload files quicker, and have more options as well as control we recommend using...