Report this

What is the reason for this report?

How do I force the naked URL to redirect to the 'www' version?

Posted on June 26, 2013

I’m running a Rails with Unicorn on Ubuntu, and I’m trying to figure out how to redirect a naked domain to the ‘www’ version.

I was hoping to do this through straight DNS, but I’ve never known a way to do this…and I’m thinking it’s impossible.

What’s the best way to achieve this?

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.