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
-ns1.domain.com - the Default IP Of your server
-ns2.domain.com - Secondary IP or free IP
Exception : In case if you have just one domain and you have set that name server for your other server and you want to use ns3.domain.com and ns4.domain.com name server for this server then you will have to set the dns for it from the dns zone file of domain.com if you have WHM then you can go to the server where this domain is resolving then open WHM >> Edit a DNS zone >> select domain from the list >> Edit at the end just add this line
ns3 In A First_IP
ns4 In A Second_IP
or if you are using shell then you can simply append following lines there in
# vi /var/named/domain.com.db
ns3 IN A First_IP
ns4 IN A Second_IP
save file.
# service named reload
# rndc reload domain.com
3. http://IP/whm >> Basic cPanel/WHM Setup
Primary Nameserver ns1.domain.com >>
Click on “Assign IP address” and then “Add an A entry for this name server”
Secondary Nameserver ns2.domain.com
Click on “Assign IP address ” and then “Add an A entry for this name server”
4. Once all done you can check if your nameservers have started resolving or not from
http://www.dnsstuff.com/tools/lookup.ch?name=ns1.domain.com&type=A
Once you see the assigned IP address there then it means that the name server for your server are set.
Create new account from your WHM and now you will just need to point your site from your registrar end to these nameservers ns1.domain.com and ns2.domain.com if you want to resolve your site from this server.
You are done with the name server set-up…
Cheers ..!!
Jason.
Hello Friends,
You can access your cpanel without pointing your DNS to that server from your local machine. For that please follow the following steps.
1. Make sure that you are having the account on that server which you are trying to access.
2. You must have the cpanel login details.
3. put the following entries in your local machine hosts file. for that edit
c:\WINDOWS\system32\drivers\etc\hosts
add the following line as
domain.com
and now you can access your cpanel without pointing DNS to that server.
Hello,
If you get cpanel license expired page after you
login to your cpanel than you need to update your cpanel
license immediately.To update cpanel license please go
through below steps :
1> Goto /usr/local/cpanel ->
cd /usr/local/cpanel
2> Execute the cpkeyclt file therein ->
./cpkeyclt
The cpanel license gets updated immediately.
Now try to login to your cpanel and the error is
disappeared!!
Greetings ,
Pissed off with wrong disk usages for your email accoounts in Webmail ?
Dont worry ..
Just find and remove below files from your account ..
1. find /home/username/mail/ -name maildirsize
2. find /home/username/.cpanel-datastore/ -name “diskusage_*”
Cheers
Kyle
Set SPF record for your domain:
In order to set SPF record for your domain go to the site called
http://www.openspf.org/
Select option there called SPF WIZARD
Put your domain name there and say start.
Select all those options you want there like A record, MX record and press “continue” button.
You will get a spf record for your domain under the heading,
The SPF record:
v=spf1 a mx ?all
Now you will have to put this record in the dns zone for that domain on the server.
You will have to add the entry in dns zone for that domain, for spf record as per given below,
domain.com. IN TXT v=spf1 a mx ?all
You can check whether it is added correct to your domain at — http://www.dnsreport.com/tools/dnsreport.ch?domain=domain.com >> Mail >> SPF record option.
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
40 queries. 0.134 seconds