I want to deploy multiple rails app on a single server. If I had a domain name, I would have easily done that using subdomains as server name in virtual hosts.
My problem is that I do not have a domain name. Can I do something like
70.42.89.11/app_1 as one server name and 70.42.89.11/app_2 as another.
Or are there any other solutions?
Yes. The Passenger guide calls this "Deploying to a Sub URI"
http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rack_to_sub_uri
https://www.phusionpassenger.com/library/deploy/apache/deploy/ruby/#deploying-an-app-to-a-sub-uri-or-subdirectory
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With