2 seperate websites on 1 linode?
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..
6 Replies
Only can have 1 configuration running at a time..
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.