How to create wildcard subdomain in cPanel
Wildcard subdomain – is a domain that directs existing and non-existing subdomains to point to a certain folder in the hosting account.
How does this mean?If someone types a subdomain like forum.techoverload.net– and it does not exist and the other one types blog.techoverload.net and the domain exists ,they will all lead to the same folder that is contained by the wildcard subdomain and show the same content that is contained in the subfolder.
These are steps for creating a Wildcard subdomain
1.Login to cpanel
2.Then navigate the Cpanel and go to “Subdomains” which is under “Domains ” sections below the cpanel
3.Create a subdomain ‘*’ and make it point to the required folder.You will also have to specify the Document root path
4.This step is very important.You will go to menu then find ‘”Advanced DNS Zone Editor”
5.Make sure that there is a A record for *.yourdomainname.com created and it should have the same ip address as your domain
See the caption below
6.You will need to wait for N seconds for the propagation to take place where N stands for TTL which can be reduced to make the process faster.
After doing so the wildcard domain will work effectively.