Wildcard DNS makes it so that any subdomain redirects to your main website.
So, if anyone types randomjunk.domain.com or fakename.domain.com, it will go to http://domain.com/ .
You can add this record via cPanel by following these steps:
- Go into your cPanel, go to Subdomains.
- Add a subdomain called *
- Make sure to set the document root to your public_html folder.