How to Setup Environment for Ruby on Rails Application

Author:Lars Nyström
Updated:Aug 6, 2025

To create a Ruby on Rails app on Esadax, follow these organized steps:

  1. Access Ruby on Rails Section:

    • Navigate to the Ruby on Rails section in your control panel.
  2. Create a New Application:

    • Click on "Create Application."
    • Fill in:
      • App Name: Enter your application's name.
      • Application Path: Specify the path where your app will be hosted (e.g., /myapp).
    • Select the environment (choose "Development" for testing).
    • Decide if the app should load on server boot.
    • Click "Create."
  3. Configure Rewrite for Port Settings:

    • Go to "Create A Rewrite."
    • Click "+Create Rewrite" for your new app.
    • Choose:
      • Domain/Subdomain: Select where your app will be hosted (e.g., example.com).
      • Page Name (optional): If using a subpath, enter the URL segment (e.g., /myapp).
    • Save the rewrite settings.
  4. Verify and Manage Rewrites:

    • Check "Current Rewrites" to see your app's URL.
    • Adjust the path if needed or delete the rewrite later.
  5. Start the Application:

    • Set the app status to "Running."
    • Open the generated URL in your browser to view the Rails welcome message.