Results 1 to 20 of 20
-
01-07-2014, 01:07 AM #1WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
How to change nameserver domain in my VPS
I've configured in my VPS nameserver domains: ns1.example.com & ns2.example.com. But now my primary domain is expiring and want to change it to ns1.newdomain.com and ns2.newdomain.com.
What steps do I need to take to do this migration?
-
01-07-2014, 02:07 AM #2Web Hosting Master
- Join Date
- Dec 2007
- Location
- LocalHost
- Posts
- 1,317
Are you using cPanel on your VPS?
█ YagHost - Fast Reliable Hosting Since 2009
█ Managed VPS - NVMe DirectAdmin
█ Web Hosting - NVMe SSD, AMD EPYC, 10 Gbps (US, Europe, Singapore)
-
01-07-2014, 02:13 AM #3WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
Yes I'm using Cpanel (WHM 11.40.0 build 31)
-
01-07-2014, 04:04 AM #4Web Hosting Master
- Join Date
- Dec 2007
- Location
- LocalHost
- Posts
- 1,317
Follow these steps:
1) Create two A record for nameserver in WHM >> Add DNS entry
ns1.newdomain.com
ns2.newdomain.com
Use same IP for nameserver A record that you have for old nameserver.
2) From domain control panel, create two child nameserver
ns1.newdomain.com
ns2.newdomain.com
3) Change nameserver address of all hosted domains.
ns1.example.com >> ns1.newdomain.com
ns1.example.com >> ns2.newdomain.com
4) Edit DNS entry of all hosted domains from WHM >> Edit DNS
And change nameserver record.
ns1.example.com >> ns1.newdomain.com
ns1.example.com >> ns2.newdomain.com█ YagHost - Fast Reliable Hosting Since 2009
█ Managed VPS - NVMe DirectAdmin
█ Web Hosting - NVMe SSD, AMD EPYC, 10 Gbps (US, Europe, Singapore)
-
01-07-2014, 04:36 AM #5WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
Thanks Ravi but I don't find "Add DNS entry" in my WHM(pl. see the screenshot).
Also will I also need to change the host name?
-
01-07-2014, 04:54 AM #6Web Hosting Master
- Join Date
- Dec 2007
- Location
- LocalHost
- Posts
- 1,317
I will make it simple for you. Login in WHM and navigate to:
WHM >> Server Configuration >> Basic cPanel & WHM Setup
Scroll to bottom of page to Nameservers section. Enter your new nameserver and click "Add a A record for this nameserver" button.
Done!!
Also will I also need to change the host name?
If yes, you should change to newdomain.com
But this is not required for nameserver. This is required because you should use a valid and fully qualified hostname.Last edited by YagHost-Ravi; 01-07-2014 at 04:58 AM.
█ YagHost - Fast Reliable Hosting Since 2009
█ Managed VPS - NVMe DirectAdmin
█ Web Hosting - NVMe SSD, AMD EPYC, 10 Gbps (US, Europe, Singapore)
-
01-07-2014, 05:15 AM #7WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
Thanks, I've got it.
Will changing host name cause any issues?
I mean in "Change Hostname" from host.site.com to host.newsite.com ?
-
01-07-2014, 05:16 AM #8Web Hosting Master
- Join Date
- Dec 2007
- Location
- LocalHost
- Posts
- 1,317
█ YagHost - Fast Reliable Hosting Since 2009
█ Managed VPS - NVMe DirectAdmin
█ Web Hosting - NVMe SSD, AMD EPYC, 10 Gbps (US, Europe, Singapore)
-
01-07-2014, 05:26 AM #9WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
Should I first add A Record for new host name then change the host name or the vice versa?
-
01-07-2014, 05:30 AM #10Web Hosting Master
- Join Date
- Dec 2007
- Location
- LocalHost
- Posts
- 1,317
█ YagHost - Fast Reliable Hosting Since 2009
█ Managed VPS - NVMe DirectAdmin
█ Web Hosting - NVMe SSD, AMD EPYC, 10 Gbps (US, Europe, Singapore)
-
01-20-2014, 04:53 AM #11WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
Thanks Ravi I've added configured a new domain tarrifplansindia.com as new nameserver(pl see the attachment). ns1.tarrifplansindia.com and ns2.tarrifplansindia.com are working fine as I've changed the dns of a site and it is working fine.
I've changed the host name as you've mentioned. Then I went to WHM >> Server Configuration >> Basic cPanel & WHM Setup >> "Add a A record for this nameserver"
I've not done anything else.
Since timeinindia.in is going to expire how to remove it from the DNS?
-
01-20-2014, 05:28 AM #12Web Hosting Master
- Join Date
- Dec 2007
- Location
- LocalHost
- Posts
- 1,317
█ YagHost - Fast Reliable Hosting Since 2009
█ Managed VPS - NVMe DirectAdmin
█ Web Hosting - NVMe SSD, AMD EPYC, 10 Gbps (US, Europe, Singapore)
-
01-20-2014, 05:34 AM #13WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
In the "Choose Zones to Delete" in Delete a DNS Zone I see all my sites added along with these:
- timeinindia.in ( going to expire domain)
- ns1.tariffplansindia.com (the new one)
- ns2.tariffplansindia.com
Don't know why ns1.timeinindia.in & ns2.timeinindia.in not there. So should I delete only this entry: timeinindia.in ?
-
01-20-2014, 06:11 AM #14Web Hosting Master
- Join Date
- Dec 2007
- Location
- LocalHost
- Posts
- 1,317
Then it must be present in DNS entry of timeinindia.in.
So should I delete only this entry: timeinindia.in ?
Also, even if DNS entry of timeinindia.in is present on server, this is not going to create any issue for you.█ YagHost - Fast Reliable Hosting Since 2009
█ Managed VPS - NVMe DirectAdmin
█ Web Hosting - NVMe SSD, AMD EPYC, 10 Gbps (US, Europe, Singapore)
-
01-20-2014, 06:43 AM #15Retired Moderator
- Join Date
- Feb 2005
- Location
- Australia
- Posts
- 5,849
The domain tariffplansindia.com appears to be delegated to nameservers ns1 and ns2.timeinindia.in (and doesn't resolve) - don't delete your old nameservers until you've fixed that...
$ dig tariffplansindia.com
; <<>> DiG 9.8.1-P1 <<>> tariffplansindia.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 6802
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;tariffplansindia.com. IN A$ dig +trace tariffplansindia.com
; <<>> DiG 9.8.1-P1 <<>> +trace tariffplansindia.com
;; global options: +cmd
. 15142 IN NS g.root-servers.net.
. 15142 IN NS a.root-servers.net.
. 15142 IN NS l.root-servers.net.
. 15142 IN NS b.root-servers.net.
. 15142 IN NS m.root-servers.net.
. 15142 IN NS d.root-servers.net.
. 15142 IN NS i.root-servers.net.
. 15142 IN NS e.root-servers.net.
. 15142 IN NS c.root-servers.net.
. 15142 IN NS h.root-servers.net.
. 15142 IN NS k.root-servers.net.
. 15142 IN NS j.root-servers.net.
. 15142 IN NS f.root-servers.net.
;; Received 512 bytes from 127.0.0.1#53(127.0.0.1) in 1472 ms
com. 172800 IN NS m.gtld-servers.net.
com. 172800 IN NS l.gtld-servers.net.
com. 172800 IN NS k.gtld-servers.net.
com. 172800 IN NS j.gtld-servers.net.
com. 172800 IN NS i.gtld-servers.net.
com. 172800 IN NS h.gtld-servers.net.
com. 172800 IN NS g.gtld-servers.net.
com. 172800 IN NS f.gtld-servers.net.
com. 172800 IN NS e.gtld-servers.net.
com. 172800 IN NS d.gtld-servers.net.
com. 172800 IN NS c.gtld-servers.net.
com. 172800 IN NS b.gtld-servers.net.
com. 172800 IN NS a.gtld-servers.net.
;; Received 498 bytes from 198.41.0.4#53(198.41.0.4) in 1635 ms
tariffplansindia.com. 172800 IN NS ns1.timeinindia.in.
tariffplansindia.com. 172800 IN NS ns2.timeinindia.in.
;; Received 88 bytes from 192.54.112.30#53(192.54.112.30) in 608 ms
;; Received 38 bytes from 96.44.156.73#53(96.44.156.73) in 260 msChris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
-
01-26-2014, 12:50 AM #16WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
Chris thanks but how to fix this? Could it be due to that domain nameservers of tariffplansindia.com domain were ns1.timeinindia.in and ns2.timeinindia.in. I've just now changed it to ns1.tariffplansindia.com & ns2.tariffplansindia.com in the domain control panel.
-
01-26-2014, 01:51 AM #17Disabled
- Join Date
- Jan 2006
- Posts
- 297
http://www.tariffplansindia.com/ is not working from here.
-
01-26-2014, 02:09 PM #18WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
Ravi it has not gone smoothly. I need to change the domain name of hosting account also. But even after doing all the changes mentioned in this thread I find entries of timeinindia.in( which is expiring soon).
Intodns has reported:
Missing nameservers reported by parent FAIL: The following nameservers are listed at your nameservers as nameservers for your domain, but are not listed at the parent nameservers (see RFC2181 5.4.1). You need to make sure that these nameservers are working.If they are not working ok, you may have problems!
ns1.timeinindia.in
ns2.timeinindia.in
Error Missing nameservers reported by your nameservers ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are:
ns2.tariffplansindia.com
ns1.tariffplansindia.com
This is listed as an ERROR because there are some cases where nasty problems can occur (if the TTLs vary from the NS records at the root servers and the NS records point to your own domain, for example).
-
01-27-2014, 08:44 PM #19Retired Moderator
- Join Date
- Feb 2005
- Location
- Australia
- Posts
- 5,849
The correct nameservers need to be set for the main domain, both in the registrar's system and in your system (NS records in your zone editor). It looks like you've done this and the domain is now resolving correctly (showing a "Hello world" page) - are you still having problems?
Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
-
01-28-2014, 01:45 AM #20WHT Addict
- Join Date
- Oct 2010
- Location
- India
- Posts
- 145
I carefully did the steps laid out in this thread but the old expiring domain was still listed in the zone files.
So I went and reset zone file of each domain. Then it got alright until I rebooted. Then due to TTL timeout my VPS was rendered completely inaccessible - no Ssh or WHM login. Finally I asked for help from the support team( mine is fully managed VPS).
It was quickly fixed don't know how. But it was tense moment on Sunday night when I went to sleep at 2.30 am.
Soladrive saved my life at the crucial moment. I'm happy now.
But I still see the old domain in the "Nameserver IPs"(timeinindia.in) in WHM(as in attachment).
Thank you all guys(Ravi & Chris).
Lesson: we shouldn't do these nameserver changes ourselves.
Similar Threads
-
Registrar Change for Nameserver Domain?
By MacDo in forum Domain NamesReplies: 5Last Post: 02-15-2013, 01:03 PM -
How to change server with out nameserver change or web site down
By sprakas4 in forum Running a Web Hosting BusinessReplies: 4Last Post: 02-26-2010, 09:52 AM -
nameserver change co.uk domain
By mojosue in forum Web HostingReplies: 2Last Post: 10-13-2005, 06:02 AM -
domain transfer and nameserver change
By CresHost in forum Domain NamesReplies: 7Last Post: 01-12-2005, 10:13 AM -
change nameserver domain on ssh ?
By Ivan23 in forum Dedicated ServerReplies: 5Last Post: 10-08-2003, 08:30 AM