Cname to multi-level heroku subdomain

user123424234 asked:

I’m trying to create a cname that points from my custom domain ( to a multilevel subdomain hosted on heroku (

I’ve created the Cname with the value When I go to it does not route to, instead I get:

method=GET path=/ dyno=web.1 queue=0 wait=0ms connect=4ms service=18ms status=404

It’s possible I’m not fully understanding how this Cname should be setup. My desired outcome is for to act as if it were at

My answer:

Follow along the documentation carefully. There are exactly two things you need to do:

  1. Tell Heroku about your subdomain.

    heroku domains:add
  2. Set the CNAME record in your DNS.

    s       IN      CNAME

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.