bspacer1 bspacer2
webmail hosting forum clients about

Computer Co-op, CornerNET Internet Gateway, and PJR Solutions is owned by PJR Sales & Service. Quality products and online services since 1991. We can be your
Complete Computer Connection

Hosting @ $5.95

Domains @ $16.98
Home PagePortal HomeClient AreaAnnouncementsKnowledgebaseSupport TicketsDownloadsRegister

Knowledgebase
You are here: Portal Home > Knowledgebase > cPanel Related Issues > cPanel HOW-TOs > How to enable wildcard subdomains?

How to enable wildcard subdomains?

Wildcard subdomains are useful when you wish to redirect all visitors to your main website regardless of what subdomain they access your website through.

This is also useful when someone mistypes www for example and writes ww.yourdomain.com.

In other words, with wildcard subdomains it won't matter whether someone accesses your site through ww.yourdomain.com or wwwwww.yourdomain.com.

Here are two ways to enable wildcard subdomains for your website:

1) The easiest way to enable wildcard subdomains is to create a subdomain *.yourdomain.com. CornerNET customers can do this from their cPanel > Subdomains.

You should make sure that the subdomain's Document Root is public_html.

2) Using cPanel, go to Advanced DNS Zone Editor. Select the domain you wish to modify from the list of available websites.

Under Add a record you should fill in the fields so that they look like:


Name: *

TTL: 14400

Type: A

Address: 1.2.3.4

where 1.2.3.4 is the IP of the account

Then select Add Record 



Was this answer helpful?

Add to Favourites
Print this Article

Also Read
How can I create different types of web redirect with my cPanel? (Views: 9229)
How can I enable anonymous FTP access in cPanel? (Views: 10270)
How can I retrieve the raw Apache access logs for my site? (Views: 2078)
How can I check my quota and bandwidth limits/usage? (Views: 11911)
How can I password protect a directory with cPanel? (Views: 11146)

Powered by WHMCompleteSolution


Copyright © 1994-2021 PJR Sales and Service All Rights Reserved