Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Testing websites
PostPosted: Thu May 10, 2012 12:11 pm 
Offline
Newbie

Joined: Thu May 10, 2012 11:39 am
Posts: 2
Website: http://www.visitfassa.com
Hello, I'm new to this forum and I don't know much.

I hired someone to set up Linode with NginX for my personal website and later he taught me how to add more websites to be hosted.

So I've started transferring here some of my customers' websites which are hosted somewhere else and I'd like to know how can I test them before doing the DNS switch to ns1.linode.com, ns2.linode.com etc.

I hope I made myself clear... thanks!


Top
   
 Post subject:
PostPosted: Thu May 10, 2012 12:18 pm 
Offline
Senior Member

Joined: Tue May 03, 2011 11:55 am
Posts: 105
Set up the site like you would if you were going to do the move, then change your local hosts file (if you're on Windows it's usually under C:\Windows\system32\drivers\etc) so that your computer directs the domain to the new IP. The line would look something like this:

xxx.xxx.xxx.xxx example.com

The IP of your Linode first, followed by the domain you're testing. Save that file, and then open your browser and it should direct that domain to the Linode.


Top
   
 Post subject:
PostPosted: Thu May 10, 2012 12:37 pm 
Offline
Newbie

Joined: Thu May 10, 2012 11:39 am
Posts: 2
Website: http://www.visitfassa.com
Thank you very much for your quick reply Ghan_04!

It works and I noticed that there are a few errors in the website so I can fix them before moving on to the DNS switch.

That was exactly what I was looking for :)


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


Who is online

Users browsing this forum: No registered users and 6 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