- Goto https://www.digitalocean.com
- Create Droplet
- Choose 'One Click App' - 'Dokku 0.4.7 14.04'
- Choose size (I chose the $10 option)
- No additional requirements
- Setup an SSH Key
- Enter a hostname (this is not a real hostname and can be anything you like)
- Wait for your droplet to start...
- Get the IP of your droplet and open it in a browser ( http://<droplet_ip> )
- On the Dokku Setup page enter the actual domain name you want to use (ie. mydomain.com)
- Check 'Use virtualhost naming for apps'
- Finish setup
- Add an entry to your
~/.ssh/config
file
Host mydomain.com
HostName mydomain.com
User root
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
- (optional) I didn't have a real domain at this point so I just added my fake domain name to my own
/etc/hosts
file
<droplet_ip> <mydomain.com>
- Try to connect
$ ssh <mydomain.com>