Report this

What is the reason for this report?

How to redirect to www for rails app

Posted on November 2, 2020

I set up Ruby on Rails by using the Apps feature not droplet on digital ocean. I added CNAME on DNS provider to point to my hostname and www.ruby-on-rails.guru is working fine, but domain without www is not working ruby-on-rails.guru. Does anyone know what I can do to fix that? How to do redirection? be aware that this ruby on rails is deployed by the usage of Apps feature not with VPS droplet so I don’t have SSH access and the possibility to configure Nginx or similar.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Apex domains (some also called naked domains or root domains) are not yet supported on App Platform. They are a top priority on our roadmap and we encourage you to check our release notes regularly.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.