Why am I seeing ‘No such app’ if I access my application’s SSL endpoint address?

Issue

You have just created a Heroku SSL endpoint addon and loaded your certificate but when you attempt to access the custom herokussl.com URL you receive the error ‘No such app’

Resolution

The Heroku routing layer uses the Host header from the client to ensure the correct application responds to a request - this needs to be set to the value of your custom domain (if you have one set up) to route to the correct application. As a result you cannot access your application by visiting the herokussl.com that is assigned to your SSL endpoint. You need to set up a custom domain to access your application via the SSL Endpoint.