Hi.
I’d like to launch a Ruby on Rails Website with WordPress blog on the same domain. Ruby on Rails will occupy the top-level domain (i.e. <domain_name>.com) while WordPress will reside at a subdomain (i.e. blog.<domain_name>) or subdirectory (i.e. <domain_name>/blog)
How do I configure a VPS / droplet to make this deployment work? Which server specs do I choose?
Thanks
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.
I can’t give you an accurate answer (but 1GB should be enough to start).
Version 1
In NGINX you just need to create two Server Blocks.
Version 2
Download WordPress and rename the folder to blog.
Thanks for your reply! I apologize for my slow reply.
I want something relatively simple.
Server configuration: Same, but could be distributed HTTP Server: NGinx Database: PostGreSQL
It largely depends on your architecture. What HTTP server are you currently using for your rails/wordpress applications? Database? Is all this going to reside on the same server or are you going for a distributed setup? Depending on your technology choices, this could either be a relatively simple setup or a complex one.