Ch-center Dedicated Hosting
1€ = 4.2762 Lei money 1$ = 3.3168 Lei
English Română
Call Us: 40-214-360-181
Email / msn : sales@ch-center.com
  Ch-center Call Us
 
 
spacer
Products And Services
Welcome to CH-CENTER support page
How do I enable Wildcard DNS ?
In order to complete this you will need to have root access, WHM and SSH.

Step 1:

From cPanel WHM navigate to: Main >> DNS Functions >> Edit DNS Zone
Click on the domain for which you wish to enable wildcard and then click Edit.
At the bottom of the page add a entry like so:

wildcarddns

Click Save and you are done here.

Step 2:

Connect to the server using ssh (putty for windows) and edit the following file:
/usr/local/apache/conf/httpd.conf

You can do this by running this command:
nano /usr/local/apache/conf/httpd.conf

Find the section containing your domain, it should look like this(in this example the domain edited is domain.tld):
wdnsapacheconf

You need to replace "ServerAlias www.domain.tld" with "ServerAlias *.domain.tld domain.tld", after you are done it should look like this:
awildcardapacheconf

Step 3:

Restart apache server from cPanel WHM, navigate to:
Main >> Restart Services >> HTTP Server (Apache)

At this point Wildcard DNS should be functional.
img Login img
Operating Systems
  Linux Webmin - cPanel - raw
  Windows TSE - cPanel
  BSD Raw
   
img FAQ img