m |
m |
||
Line 1: | Line 1: | ||
<seo title="Wildcard" metakeywords="wildcard,wild card,wildcard dns,use wildcard" metadescription="Wildcard" /> | <seo title="Wildcard" metakeywords="wildcard,wild card,wildcard dns,use wildcard" metadescription="Wildcard" /> | ||
− | <div align=justify>A wild card is a symbol that substitutes for an unknown character or set of characters. Commonly used wild cards are the asterisk ( * ) and the question mark ( ? ). | + | <div align=justify>A wild card is a symbol that substitutes for an unknown character or set of characters. Commonly used wild cards are the asterisk '''( * )''' and the question mark '''( ? )'''. |
When you use Wildcard DNS, you make it possible for any subdomain to be redirected to your main website. | When you use Wildcard DNS, you make it possible for any subdomain to be redirected to your main website. | ||
You can set wildcard DNS by following these steps: | You can set wildcard DNS by following these steps: | ||
* Log into your '''cPanel => Subdomains'''; | * Log into your '''cPanel => Subdomains'''; | ||
− | * Add a subdomain called * | + | * Add a subdomain called '''*''' |
* Set the document root to public_html folder. | * Set the document root to public_html folder. | ||
Line 12: | Line 12: | ||
Wildcard DNS subdomains are useful when you want to redirect all visitors to your main website despite the exact subdomain name they try to access your website through. | Wildcard DNS subdomains are useful when you want to redirect all visitors to your main website despite the exact subdomain name they try to access your website through. | ||
− | This is also useful in case someone mistypes www for example and writes ww.yourdomain.com. | + | This is also useful in case someone mistypes ''www'' for example and writes ''ww.yourdomain.com''. |
− | In other words, with wildcard DNS subdomains all users trying to access your site through ww.yourdomain.com or wwwwww.yourdomain.com will be redirected to your webpage.</div> | + | In other words, with wildcard DNS subdomains all users trying to access your site through ''ww.yourdomain.com'' or ''wwwwww.yourdomain.com'' will be redirected to your webpage.</div> |