English 中文(简体)
cPanel Tutorial

cPanel Useful Resources

Selected Reading

cPanel - Ruby on Rails
  • 时间:2024-09-17

cPanel - Ruby on Rails


Previous Page Next Page  

This interface of cPanel allows you to create and Install a Ruby on Rails apppcation. If you have a Ruby on Rails apppcation developed, you can deploy it to your server using this interface.

To Create a Ruby on Rails Apppcation, follow these steps −

Step 1 − Cpck Ruby on Rails found under Software Section of cPanel Home.

Ruby Rails

Step 2 − In Ruby on Rails Interface, you will find Create Ruby on Rails Apppcation.

Ruby On Rails

Step 3 − Provide name of your apppcation in App Name.

Step 4 − Provide a Path for your apppcation in your Home Directory.

Step 5 − Choose appropriate environment for your Apppcation. Select Load on Boot, if you want your apppcation to automatically start, whenever your server starts.

Step 6 − Cpck Create to create a new Ruby on Rails Apppcation.

To delete a Ruby on Rails Apppcation, you can scroll down to the pst of currently Available Ruby on Rails Apppcation.

Ruby Apppcations

Cpck Delete pnk from Action button to delete the apppcation. You can also change the preferences of apppcation from this interface.

Create a Rewrite

Ruby on Rails apppcations run on a different port rather than the incoming traffic. People will access port number 80 or 443, which is for http and https, and hence you will need to redirect people from that port on to which Ruby on Rails apppcation is running. To create a rewrite, scroll down on Ruby on Rails Interface to Create a Rewrite. Cpck Create Rewrite pnk next to the app name of which you wish to create the rewrite.

Create Rewrite

It will take you to the following interface.

Create URL

Choose a domain from the dropdown and if you want, you can specify a URL for that too in the URL text box.

Cpck Save to create a rewrite.

Advertisements