Please Login or Register

Knowledgebase

How to create a Wild Card DNS subdomain

You can easily create a wildcard subdomain/DNS, without having to edit the Apache Config by using cPanel.

Navigate to the subdomain icon.

Here you now add the subdomain "*" (without the quotes).

This will now add a DNS wildcard so any subdomain on your domain will display your main website.

However if you wish to simply redirect any invalid subdomains to the main domain you can edit the subdomain and make it a redirect.

Click "Manage Redirection"

cPanel - Subdomain - Manage Redirect

 

Now you can enter your main domain and click "save".

cPanel - Subdomains - Manage Redirect URL

Now users who visit an invalid subdomain are automatically redirected to your main domain.






Was this answer helpful?
Add to Favourites Add to Favourites   Print this Article Print this Article
Also Read
What is an "A" record? (Views: 1213)
Addon domains (Views: 1186)

Powered by WHMCompleteSolution

Language:


Web Hosting
Client Login
Web Hosting

Email

Password

Remember Me


Web Hosting
Search
Web Hosting




Follow Us on Twitter