DNS records for accessing Dokku app
I have a dokku app on a DO droplet. I originally pushed it without adding any domain or DNS settings. I just added a domain to my account, and configured Dokku to use it by:
- creating VHOST and setting it to my domain.
- modifying HOSTNAME to the domain.
- rebuilding the app with the rebuild dokku plugin.
I can push to the app no problem, however I can't seem to access the app with HTTP requests. I keep getting connection refused.
For my DNS settings, I added two A records:
Via the command line I checked
host mydomain.co and it does point to the ip of my droplet. Why can't I access my dokku app with requests to
As a note, I can still make requests using the ip/port combo for the given app.