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 8171471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:28:14+00:00 2026-06-06T21:28:14+00:00

I recently added SSL functionality to my Rails app running on Heroku. I successfully

  • 0

I recently added SSL functionality to my Rails app running on Heroku. I successfully purchased and created a certificate for my domain and using a CNAME in GoDaddy, the WWW subdomain of my app works correctly when a user browses to http://www.myappname.com

The page loads without any warnings and the certificate works as is supposed to.

The CNAME looks something like this:
host: www
points to: myappnamefoobar-1234.herokussl.com

However when I simply go to the “naked” domain name – myappname.com, a certificate error comes up.

How do I configure the DNS settings in GoDaddy to make this work?

https://devcenter.heroku.com/articles/avoiding-naked-domains-dns-arecords

There is a whole article in Heroku’s docs about naked domains but I don’t see how this would apply to GoDaddy’s DNS manager.

I know that Heroku has some sort of IP based SSL that is paid but is there another way to accomplish this?

  • 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-06T21:28:16+00:00Added an answer on June 6, 2026 at 9:28 pm

    The trick is to use rack-rewrite:

    https://github.com/jtrupiano/rack-rewrite

    It allows Rails to do a redirect from mydomainname.com to http://www.mydomainname.com since Heroku doesn’t allow naked domains.

    You then use your DNS manager to point http://www.mydomain.com to Heroku’s SSL endpoint (paid, $20 per month).

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

Sidebar

Related Questions

I recently added devise confirmable module to my rails app. My application runs well
I recently added a :title column using Rails migration: class AddTitleToMicroposts < ActiveRecord::Migration def
I've been using CarrierWave to successfully resize my images and I've recently added a
I recently added namespaces to my rails app. I had a form that will
I recently added Devise and CanCan to my Rails 3.2.3 app and need to
I recently added an extra authentication backend to allow users to login using either
I recently added Android's LVL copy protection to my app, and the results have
I recently added CKEditor to my app and I would like to include my
I've recently added html validation to my cucumber features. I'm using the gem be_valid_asset
I recently added a class I created with a tool to my Visual Studio

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.