CHEAP WEB HOSTING SERVICES AND AFFORDABLE LINUX WEB HOSTING PACKAGES WITH FREE DOMAIN NAME REGISTRATIONLINUX WEB HOSTING WITH PHP MYSQL TOMCAT SITE BUILDER FANTASTICO RVSKIN OSCOMMERCE AGORA CUBECART ZENCART PHPLIST PHP NUKE POSTNUKEECOMMERCE SHOPPING CART HOST MYSQL FRONTPAGE TOMCAT ZENCART HOSTINGCPANEL RESELLER HOSTING AND DEDICATED SERVER WEB HOSTING WITH JOOMLA MAMBO OSCOMMERCE PHPAUCTION AND SSH HOSTING |
Greetings,
If you have a new VPS or a dedicated server with cpanel and are looking for some document on guidance how to set the name server for it the here is the step by step to do it.
The hostname must be FQDN - Fully Qualified Domain Name
hostname is the your server’s name that you want to set. For example if you want to set it server.domain.com. Always set the hostname with the DomainName that you owns.
1. http://IP/whm edit dns zone .. select your domain
server IN A YourSeverIPHere
www.server IN A YourSeverIPHere
OR
if you are using shell then you can simply append following lines there in
# vi /var/named/domain.com.db
server IN A YourSeverIPHere
www.server IN A YourSeverIPHere
Save the file
#service named reload
#rndc reload domain.com
2. WHM >> Basic cPanel/WHM Setup >> Hostname
or
Login to shell /server as a root and fire this command the second parameter will the hostname that you want to set.
hostname server.domain.com
3. Check /etc/hosts file that it is set properly.
Just confirm from some expert that you have set that properly, cause changing the hostname will affect few services on your server if you have not done that properly or have done any spelling mistakewhile setting hostname of your server.
4. Fire hostname on your server if it shows the hostname then you have set it properly.
You have set the hostname now.
Cheers..!!
Jason
You must be logged in to post a comment.
Micfo International LLC Leading the hosting Industry with Cheap and Affordable Linux Web Hosting Packages.
Micfo, delivering the best cpanel web hosting with maximum reliability
is our exclusive focus.
— Micfo
International LLC
33 queries. 0.100 seconds