Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9002769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:36:54+00:00 2026-06-16T00:36:54+00:00

I am running a Rails app on the AWS infrastructure using several EC2 instances,

  • 0

I am running a Rails app on the AWS infrastructure using several EC2 instances, a RDS DB, a round robin session-sticky load balancer and Route 53.

The application is serving pages for several domain names (same app looks and functions different depending on domain name).

The Rails code is hosted on a NFS share on a staging instance where the web server is running in development mode, while the other boxes load the apache config and application code via NFS and run in production mode.

What I’d like to do is to SSL-enable the whole thing as we’re starting to process payments and whatnot. Due to the nature of the application and the heavy apache/Passenger optimization in place, I can’t set up a vhost for each domain, but rather use a wildcard for www.* to load pretty much the same code, and the app does the rest internally.

Haven’t really been able to figure out an ideal way to resolve this. Would anyone have an idea?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:36:55+00:00Added an answer on June 16, 2026 at 12:36 am

    After a bit of discussion in the comments we came to this conclusion:

    The application is currently hosted in one single <vhost> on Apache where the Application does the differentiation between hostnames for the different layouts.

    The problem here is to support SSL without having to setup each domain with it’s own certificate and a different vhost as that would require running the Rails app multiple times where it’s unnecessary.

    By using a Multiple Domain Certificate (MDC) this problem can be solved with only one vhost and one certificate, but MDCs are more expensive than normal certificates. So depending on the number of domains you need to support it may be cheaper/easier to just do it manually with multiple certs, or opt to pay the more expensive MDC but save time and maintenance cost.

    While at it I found this nice wikipedia comparison of Certificate Authorities and their trust level in different browsers:
    http://en.wikipedia.org/wiki/Comparison_of_SSL_certificates_for_web_servers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a rails app running on Heroku. I am using paperclip for some
I'm running a Rails app and using prototype. The script breaks in IE, but
I'm using thin to run my rails app on ec2. How do I specify
I have a Rails app running on my Mac, and I'm using VMWare Fusion
I've got a Ruby on Rails app running with Bootstrap, which I installed using
I am running a rails app on Dreamhost. Today, a strange thing happened. A
I have an app running Rails 2.3.5 that has a JSON API for much
I have a Rails app running Mongoid on Heroku and I need to set
I have a ruby on rails app running a server and sometimes it needs
I have a Ruby on Rails app running on my server, and I can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.