How to create wildcard subdomain in cPanel
Wildcard subdomains allow you to point all the existing and non-existing subdomains to a particular folder in your hosting space. For example, if you enter any subdomain in your browser which is existing or not, it will show the same content that you uploaded to the folder for the wildcard subdomain.- Login to your control panel ( http://domain.com/cpanel )
- Under the Domains section, click on the Subdomains link.
- Enter '*' as your subdomain name.
- Select the domain you wished to create the subdomain for.
- Enter the root directory( eg: /public_html/subdomain ) for your wildcard subdomain in Document Root.
- Click on Create.
- Go to the menu Advanced DNS Zone Editor.
- Create A record for *.domain.com and pointed to your server IP address(Ignore this step if it already exists).
- Once the propagation is over, your Wildcard subdomain will work properly.
NOTE: In the instructions below you should replace domain.com with your registered domain name.
Related Articles
SUPPORT CENTER
Let Us Make it Easy for You please call +971 4 2976820