Before installing/deploying:
$ export APOLLO_HOSTNAME=example.org
On Heroku:
$ heroku config:add APOLLO_HOSTNAME=example.org
Replace example.org with your own hostname. When running locally this will probably be localhost:3000.
example.org
localhost:3000