Rails and Wordpress on the same domain

October 25, 2013 3.7k views
Id like to have my rails app at www.mydomain.com and my wordpress blog at www.mydomain.com/blog Is it possible to install both rails and wordpress on the same droplet and achieve this or do they both have to be on different servers? What are some musts and musts nots regarding choosing various packages i.e unicorn etc
3 Answers
"Is it possible to install both rails and wordpress on the same droplet and achieve this ...?" Yes.
by Etel Sverdlov
Varnish is an HTTP accelerator and a useful tool for speeding up a server, especially during a times when there is high traffic to a site. It works by redirecting visitors to static pages whenever possible and only drawing on the server itself if there is a need for an active process. This tutorial covers installing wordpress on a LEMP stack (with nginx instead of apache), and then installing varnish.
Have another answer? Share your knowledge.