Dec 5, 2021
11
2
3
Belgium
cPanel Access Level
Website Owner
I want to host a Ruby application on a subdomain.

In /path/to/my/app I have an app.rb:

Code:
require 'sinatra'

get '/' do
    'Hello world'
end
I then deployed this application in the Application Manager.
With Deployment Domain my subdomain, Base Application URL as /.
After deploying the application, I go to my subdomain, but I only get a Not Found screen.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,597
2,616
363
cPanel Access Level
Root Administrator
Hey there! Did you also create the config.ru file as outlined here:


After the configuration file is in place you would need to register the application with cPanel using the next steps on that page.

Can you try that and see if that gets things working?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,597
2,616
363
cPanel Access Level
Root Administrator
It sounds like there are missing options in the application itself. While our assistance is very limited for the application side of things, you can always submit a ticket to our team if you have root access to the server and we can try and narrow down the issue.
 
Dec 5, 2021
11
2
3
Belgium
cPanel Access Level
Website Owner
It sounds like there are missing options in the application itself. While our assistance is very limited for the application side of things, you can always submit a ticket to our team if you have root access to the server and we can try and narrow down the issue.
I don’t have root access unfortunately. Is there a way for me to know what exactly is wrong? Otherwise I’ll check with my hosting provider.