I'm running into an odd issue with the one-click dokku installer where top level routing seems to be broken, or at least odd.
I've got DNS records of:
When I push the first project to firstname.lastname@example.org:foobar, suddenly ANY subdomain of mysite.com, as well as the root mysite.com, all route to this project. I'd have expected here that all subdomains except foobar don't respond.
When I push a second project to email@example.com:foobarbaz, suddenly ANY subdomain of mysite.com, as well as the root, all route to the SECOND, project, EXCEPT foobar.mysite.com which routes to the first. From this point on, any further projects pushed seem to take over their designated subdomain only, as one would expect.
In contrast, I've got a manually installed dokku 0.2.3 on 14.04, and it exhibits the behavior where *anysubdomainofmine* will show an nginx default page, and *subdomains corresponding to projects* will show the proper project. This seems nominally correct to me, with the exception of the nginx "config required" page.
My REAL end goal is to have one project served at www.mysite.com AS WELL AS mysite.com (root), with other projects served at their respective subdomains. Has anyone achieved this, with or without the one-click droplet?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.