Hi,
I configured a dokku vps with several apps on subdomains like this:
domainA.com to vps ip - A record
*.domainA.com to vps ip - A record wildcard
And I can access every app at *.domainA.com, which is fine. I then configured a CNAME for another domain to point to one of the apps like this:
domainB.com to www.domainB.com - 301 redirect of naked domain to www
www.domainB.com to app2.domainA.com - CNAME record.
However the dokku nginx is serving the first app in alphabetic order. I think it is simply serving the first /home/dokku/*/nginx.conf it includes in /etc/nginx/conf.d/dokku.conf . So, is this the correct behavior? Or is something wrong with my DNS settings?
Thank you!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This question was answered by @floringogianu:
I eventually figured out what was happening: https://github.com/progrium/dokku/issues/710 I’ll probably need to look into some dokku plugins so I don’t need to edit this after each deploy.
You can see the comment here.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.