Dokku server hosts two sites with TLD's, both domains are landing on only one app

I have two simple dokku sites on one server. The first is a static html site, and the second is a very simple rails app. Each app has its own TLD.
For the sake of argument well give them the domains: and

Ive used the Dokku domains plugin to set both the naked and ‘www’ domains for each site. The domain names were purchased and setup through NameCheap

  • dockerizing wordpress with mysql installed on the host machine
  • Docker performance IO
  • How to expose port from host to container in Docker?
  • Could not launch environment: Application version is unusable and cannot be used with an environment
  • Docker container image on AWS
  • Monitoring docker container from docker-java API
  • The namecheap domains each have two entries:

    @    |    |    URL Redirect
    www  |        |    CNAME(alias)
    @    |     |    URL Redirect
    www  |         |    CNAME(alias)

    I encountered this issue on the Dokku Github page which would indicate that this can be overcome by using the naked domain as the app name when creating the original git remote.

    git remote add dokku

    However, that issue was closed two years ago, and the same result seems to be accomplished by the domains plugin. So im wondering if I should restart from this point with both apps?

    So far the above steps has resulted in traffic from both domains being sent to Has anyone encountered this before? Is there a way to overcome this issue?

  • How to kill process inside container? Docker top command
  • OpenCV error when Docker container is run on GKE
  • Docker Remote API exec: Command exit code
  • Docker: get/print ID of running container
  • Error instantiating Spring Configuration class from properties file when running in Docker container
  • Microsoft Compiler in Docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.