Ruby on Rails on GoDaddy VPS Configuration - ruby-on-rails

So, I have a client who wants his site hosted on GoDaddy, and it's a RoR site I built for him. It's on a VPS server, so I can connect via SSH and do everything I need to do, but I'm not sure what I should do to actually serve the site. On Digital Ocean I would have installed and configured Puma and Nginx, but I'm not sure if I should configure something through CPanel instead.
If so, I'm not sure how to do that. Anyone had any experience with this?

I talked my client into using Digital Ocean. GoDaddy is a nightmare for Rails.

Related

SSL on DigitalOcean without Apache or Nginix

Ok, I am very new to this, so I'm very sorry If what I say does not make sense. I'm a ruby on rails developer and I want to host my web application using Digital Ocean. Now I installed Ubuntu 18.04, and I followed this article to deploy my rails app to my web server:
https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/standalone/oss/install_language_runtime.html
This article explains how to deploy a ruby on rails app to Digital Ocean using a library called Passenger. Nowhere in the installation do we install Apache or Nginx.
This is where the problem lies... Every tutorial or article I find are explanations on how to configure an SSL certificate with either Apache or Nginx. They use libraries such as Let's Encrypt. But, like I said, I'm not using Apache or Nginx. I'm using Passenger.
How can I implement an SSL certificate on my digital ocean droplet without needing Apache or Nginx. Or if any of you have any articles that can help me with this, I'd really appreciate it if you could share them. Thank you so much!
I don't know if you have found it or not but this is the official tutorial: Using SSL with Passenger in Production

Building a server to host rails app locally

I want to know how to build a rails server and host an app on it locally. I know I can use heroku or aws but in the case of this app I can’t, the database should be hosted locally in the company for security reasons; they do not want to store their data on servers that are not theirs.
How do I start?
What are the main things to consider?
Do I host on heroku and link the local database to the site or do I host them all in the same place?
How much power does the machine need for around 10-20k users?
What OS should I use Ubuntu or what?
Would really appreciate if you have any tutorials or article links.
You can just use ngrok. It doesn't require any side server deployments.

How to make Rails 4 work with Apache

I have a rails application that I would like to deploy on a Linux-based cloud hosting running on Apache server.
I have been searching for information online, it seems to me like using Phusion Passenger is an option.
However I have no idea how to set it all up locally and in production. The Linux-based cloud hosting has a cpanel interface. Do I ftp the whole rails folder into the file manager?
Could someone please guide me or point me to a useful guide with step 1, 2, etc. Any help is appreciated. Thank you.
In order to install Passenger on a hosting service you will need SSH access.
If it's shared hosting you will most likely not get SSH, I would recommend www.digitalocean.com they give you full access to your private server.
Here is a guide once you have SSH access:
https://library.linode.com/frameworks/ruby-on-rails-apache/ubuntu-10.04-lucid

Setting up Rails on Hostmonster

I'm able to run rails s through ssh successfully and see the app start up just as it does on my own machine but I'm unable to access the app from the web. The app is directly under the home folder and I have a symbolic link pointing from public_html to the public folder of my rails app, just as this tutorial explains. I even tried setting up a subdomain and every other step in the tutorial to no avail. Any help would be highly appreciated.
You need an application server like Phusion Passenger, Unicorn or puma to run a Ruby app in a production environment. Typically, you'll integrate the application server into a web server's (Apache, nginx) environment.
I don't know about your hoster, but if you have root access, then you can probably use any of these application servers.
The built-in server you start by running rails server is only meant for testing purposes on your local machine. It has not been made with security, performance, stability or any other production-environment criteria in mind.

BlueHost Rails Hosting

I just finished a rails app that I want to host on BlueHost. Its given me issues. I am told I ve to apply for SSH Access but I am in Ghana. So I don't know! can anybody help me
I think you should consider SSH access and getting it to work. think also about the fcgi files
You can CHAT directly via Bluehost website to ask them for SSH. You will need extra money for SSH service.

Resources