Knowledgebase

Help with DNS

Posted by touring, 12-20-2014, 08:41 AM
Hello! Hope I'm posting in the right section. I've been using some VPS in the last years and most functions of WHM/Cpanel I understand correctly, except DNS part, which has been always confusing for me. I bought last month a new VPS and I'm moving all my accounts to this one, but having a problem with the main domain. Lets see if I can explain easily my issue: mydomain.com is my main website. It has also two nameservers associated, created at my registrar, ns1.mydomain.com and ns2.mydomain.com This domain is currently hosted with a reseller account, using their own nameservers (ns1.myhostingserver.com and ns2.myhostingserver.com) I started to move all my domains to new server, and for this I have created new records (ns3.mydomain.com and ns4.mydomain.com). Since the main domain is hosted at old server, I have added A records for ns3 and ns4 to point to new server and could add my domains on new vps with ns3 and ns4 and they resolve ok. Problem is my main domain. Yesterday, I went to my registrar and changed nameservers from ns1.myoldserver.com and ns2.myoldserver.com to ns1.mydomain.com and ns2.mydomain.com but domain was not resolving after propagating dns. What do I need to setup on my new VPS server to host my main domain correctly, create NS1 and NS2 records and allow all other domains to use this nameservers as well? Hope this post is not confusing and thanks for your help.

Posted by hostingandvps, 12-20-2014, 08:47 AM
You can just point the domain to the main ip of the vps and it will work, also cloudflare is a nice free dns service.

Posted by touring, 12-20-2014, 08:53 AM
Do you mean simply creating an A record at current registrar pointing to new vps IP address? Problem is that while I'm testing solutions and waiting for dns propagation, I have downtimes to see if it works... I really need a solution that works good. Tried cloudflare (that i'm already using with other domains), but didn't work, probably due any misconfiguration... Last edited by touring; 12-20-2014 at 08:56 AM.

Posted by hostingandvps, 12-20-2014, 08:55 AM
Hi, yes, i would use a service such as cloudflare though it is upto you.

Posted by touring, 12-20-2014, 08:59 AM
Yesterday that's what I did, added main domain to cloudflare, then added the two nameservers from cloudflare to current registrar and added pointer to new vps IP at cloudflare. For any reason didn't work, and domain was not resolving earlier today.

Posted by hostingandvps, 12-20-2014, 09:02 AM
Maybe the name servers are the wrong ip? Also try refreshing your dns or rebooting your router or changing your home connection to google dns etc.

Posted by touring, 12-20-2014, 09:40 AM
I will repeat again the operation with cloudflare and add your suggestion of google dns for home connection for faster propagation check thanks

Posted by hostingandvps, 12-20-2014, 09:51 AM
No problem, you can use http://web-capture.net/ to check dns propagation too



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
limestonenetworks.com (Views: 612)


Language:

Client Login

Email

Password

Remember Me

Search