Deprecated: dokku >= 0.3.10 already has this functionality built in
Dokku plugin to set custom domains for dokku apps.
- Requires Ruby >= 1.9.3 present on the host
git clone https://github.com/krisrang/dokku-domains.git /var/lib/dokku/plugins/domains
$ dokku help
domains <app> display the domains for an app
domains:set <app> DOMAIN1 [DOMAIN2 ...] set one or more domains
Add extra domains for superapp:
$ dokku domains:set superapp www.superapp.com ssl.superapp.com
-----> Setting superapp domains to: www.superapp.com ssl.superapp.com
Now superapp will respond to superapp.HOST, www.superapp.com and ssl.superapp.com
- Add tests
- Add domains:add and domains:remove commands
MIT