Question

Rails and Wordpress on the same domain

Posted October 25, 2013 7.4k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
4 answers
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.
"Is it possible to install both rails and wordpress on the same droplet and achieve this ...?" Yes.
Submit an Answer