Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat May 18, 2013 4:22 pm 
Offline

Joined: Sat May 18, 2013 4:19 pm
Posts: 1
I'm about to get my first Linode, but I have a few questions. Thanks in advance for your answers, this forums seems really great.

I'd like to have one Linode that will have a git server, MySQL database, and possibly staging environment.

Later when I'm ready to deploy my Rails app I'll get another Linode just for Rails/NGINX/Passenger, etc. which will be the production environment.

Specific questions:
1) I have only one domain name, which will be for the production Linode, so how do I communicate with the dev/staging Linode? Does Linode give me a unique IP for the dev/staging Linode?

2) If Linode does give me a static IP for my dev/staging Linode, how do I get my Rails app (on production Linode) to use the MySql database that is on the dev/staging Linode?

3) Can I use Phusion Passenger to deploy to both the dev/staging Linode and to the production Linode?

4) If I only have one domain name (for the production Linode), how will I access my Rails app deployed on the dev/staging server? Do I use some path that includes the Linode provided static IP?

Sorry if this is a bit of a NOOB question, but I'm excited to have found Linode, and want to see if I can do what I'm hoping for. Thanks!


Top
   
PostPosted: Sat May 18, 2013 6:00 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
greglafrance007,
No need to apologize for 'noob questions'. We all started out there once upon a time.

1) You get a static IP for each Linode.
2) You'll use the IP address of your dev/staging Linode as the 'host address' (instead of 'localhost') for the database.
3) - I don't know anything about Phusion Passenger -
4) You'll use the IP address of your dev/staging Linode and the path to your Rails app.


MSJ


Top
   
PostPosted: Sat May 18, 2013 6:24 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
for 4, a common solution would be to add in a "dev" dns entry. eg, if your production site is www.example.com, make your dev server be dev.example.com


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


Who is online

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