Am new to digital ocean but would like to know if i can
Regards
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!
If it’s all subdomains with the same root doamin, you can create a “wildcard” cert that covers any subdomain. Then in order to use SSL certs with Dokku, check out this from their docs:
To enable TLS across all apps, copy or symlink the .crt/.pem and .key files into the /home/dokku/tls folder (create this folder if it doesn’t exist) as server.crt and server.key respectively. Then, enable the certificates by editing /etc/nginx/conf.d/dokku.conf and uncommenting these two lines (remove the #)
Check out dokku-shoreman, it allows you to specify worker processes in your ProcFile, much like heroku does.
i.e.
web: forever server.js
worker: workprocess1
worker: workerprocess2
In terms of several domains per app. I would recommend having one main domain (with a cert installed), and redirect the others to it (normally you can set this up in your dns control panel). That way you won’t be penalised by search engines for duplicate content, and it will likely lead to a less confusing experience for your users :).
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.