Celebrate Our 22nd Anniversary with Huge Savings!
Up to 70% Off
Affiliate Program
Testimonials
Contact
+1 (877) 767 4678
73 158 8774
24x7x365 Support
Search in titles only
Search in cPanel - WHM Control Panel only
Search
+ Advanced Search
Login or Sign Up
Logging in...
Remember me
Log in
Forgot password or user name?
or
Sign Up
Log in with
Forums
Blogs
Knowledgebase
Groups
Forum
Peer Support
How To's
cPanel - WHM Control Panel
If this is your first visit, be sure to check out our
FAQ
. You may have to Register before you can post: click here to
Register
.
How To Enable Wild Card DNS Service For A Domian On cPanel server?
Collapse
Unconfigured Ad Widget
Collapse
X
Collapse
Posts
Latest Activity
Photos
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
kuld33p
replied
09-02-2009, 01:38 AM
Re: How To Enable Wild Card DNS Service For A Domian On cPanel server?
Hi,
Is it possible to do it on cPanel version 3. I am not your customer however plan to do the same. and sorry to bump an old post.
Leave a comment:
Post Comment
Cancel
Shane
started a topic
How To Enable Wild Card DNS Service For A Domian On cPanel server?
02-20-2009, 01:57 PM
How To Enable Wild Card DNS Service For A Domian On cPanel server?
In many cases we require to enable wild card DNS service for the domain. These are the steps to accomplish it for cPanel server:
1) Login into WHM.
2) Click On Edit DNS Zone.
3) Choose domain to edit and click on edit button.
4) Add new record entry as under:
TTL 14400
Record Type: A [Domain IP address]
Record Data: *
5) Click on submit to add the record in DNS file.
Now, we need to modify httpd.conf file from the server end.
1) Login into SSH as root.
2) go to the httpd.conf file. It should be located at:
etc/httpd.conf
3) now edit this with online text editor. [I have used vi editor]
vi httpd.conf
4) Find your domain entry like:
ServerAlias yourdomain.com
ServerAdmin
webmaster@yourdomain.com
DocumentRoot /home/yourdomain/public_html
BytesLog domlogs/yourdomain.com-bytes_log
ServerName
www.yourdomain.com
User yourdomain
Group yourdomain
CustomLog /usr/local/apache/domlogs/yourdomain.com combined
ScriptAlias /cgi-bin/ /home/yourdomain/public_html/cgi-bin/
On the line:
ServerAlias yourdomain.com
Change to:
ServerAlias: *.yourdomain.com yourdomain.com
5) Save the file and exit.
[command: CTRL +:wq]
6) Restart the Apache web server by executing this command:
# service httpd restart
Last edited by
admin
;
08-13-2015, 11:26 AM
.
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Leave a comment: