Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Aug 09, 2009 1:31 pm 
Offline
Newbie

Joined: Sun Aug 09, 2009 1:20 pm
Posts: 4
Here's my setup..

I have a Linode 360, it currently has 2 configurations setup each is associated with a disk image. I'm running Ubuntu 8.04 LTS for both disk images..

(#1) Wordpress Site - Using Nginx has IP 72.14.190.50
(#2) Magento Site - Using Apache2 has IP 72.14.190.114

I have setup each site (disk image) with the static IP. But when I reboot site #1 it's IP starts responding and site #2 will stop responding. If I reboot site #2, it will starting responding and site #1 will stop.

Why would that be? Do I need to go with a second linode?

Thanks..


Top
   
 Post subject:
PostPosted: Sun Aug 09, 2009 1:37 pm 
Offline
Newbie

Joined: Sun Aug 09, 2009 1:20 pm
Posts: 4
I think I may have answered my own question..

Only can have 1 configuration running at a time..


Top
   
 Post subject:
PostPosted: Sun Aug 09, 2009 1:39 pm 
Offline
Senior Member

Joined: Wed Feb 13, 2008 2:40 pm
Posts: 126
You can have as many web sites on your linode as you can fit. You're currently doing it wrong, however. I assume you're using Apache (which I don't use), so try Googling for "apache virtualhost" or something.


Top
   
 Post subject:
PostPosted: Sun Aug 09, 2009 1:43 pm 
Offline
Newbie

Joined: Sun Aug 09, 2009 1:20 pm
Posts: 4
I've got 2 sites that are using Apache on one disk image.. and then the other is running Nginx to host up the wordpress site.. Can you run apache and nginx together?


Top
   
 Post subject:
PostPosted: Sun Aug 09, 2009 1:48 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
There's a couple ways to whip this llama:

1) Attach two IPs to the Linode, and run Apache bound to one IP and nginx bound to the other.

2) Use one IP address, have one of the web servers listen on port 80, and have it proxy requests for the other one.

3) Use one web server (and one IP) for both sites.

4) Buy a second Linode! :-)

My personal implementation is a combination of #3 and #4... my busy web site runs on its own Linode, with lighttpd+Python wsgi+memcached+postgresql, and everything else runs on a "shared" Linode with lighttpd and a fastcgi handler for each application.


Top
   
 Post subject:
PostPosted: Mon Aug 10, 2009 7:32 pm 
Offline
Senior Member
User avatar

Joined: Mon Jul 21, 2008 1:26 pm
Posts: 171
Website: http://www.rejecttheherd.net
Location: Seattle
IMO just use the KISS method, I'm running a 1/2 dozen websites on my linode (3 are parked and 3 are live) with the same IP with Apache. Don't make it too complicated ya know ;)

_________________
Image
Where "Thought Crime" is commited
http://www.rejecttheherd.net


Top
   
 Post subject:
PostPosted: Thu Aug 13, 2009 6:13 am 
Offline
Senior Newbie
User avatar

Joined: Mon Mar 02, 2009 12:06 am
Posts: 13
I'm hosting 24 not-so-busy websites on my Linode 720 using Apache.


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


Who is online

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