Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Nov 09, 2012 11:54 am 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
I´m don´t know what to do, hope you can give me some advices.
I have a Linode with some domains hosted, it´s working, but i think i messed up the server a little, so i want to start a new Linode from scratch to host just one domain.
I want to test the domain in the new Linode before deleting the other account, can i do that? I mean, how can i control which server (IP) is in charge of that domain at that time? By the DNS manager?
Thanks


Top
   
PostPosted: Fri Nov 09, 2012 2:50 pm 
Offline
Junior Member

Joined: Sat Feb 18, 2012 12:26 pm
Posts: 24
Yes, you can change the IP address in whatever DNS manager has your site records.

You could also modify the hosts file on your client machine so your test browser thinks the site name is on the second IP, or create a different name in dns (test-www.example.com) though some web/app server config may have to change depending on the construction of your site.


Top
   
PostPosted: Fri Nov 09, 2012 11:39 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
I´m a little confused.
For example: My domain nameserver is pointing to ns1.linode.com.
If i have the same domain in two linodes, how can i control it?
I know that in the A/AAAA Records i give an IP Address in one linode and another one in the other linode.
For testing, if i delete one A/AAAA Records, the other linode will resolve it?
Do you know what i mean?


Top
   
PostPosted: Sat Nov 10, 2012 7:18 am 
Offline
Junior Member

Joined: Sat Feb 18, 2012 12:26 pm
Posts: 24
If you have A records for both servers then clients will go to both servers. Changing the A record from your old to new server will send them exclusively to the new one. Use the Linode DNS Manager to amend the records.

If you're trying to test the server in isolation (keep sending people to the old running for now) then it would be better to change your local hosts file, or use a different site name.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group