One-click-install with DigitalOcean
Using the Owncast 1-Click-Install on DigitalOcean’s Marketplace you can get Owncast installed and configured with SSL support easily. Follow the below steps to get up and running.
As a bonus you’ll get $100 worth of service for free if you sign up with DigitalOcean, and the Owncast Project may receive referral credit so it’s an easy way to support the project.
What you need
- A domain name and access to your DNS settings. This is required for supporting SSL.
- A DigitalOcean account.
Create your new server
- Visit the Owncast page on DigitalOcean and create a new Droplet.
- Keep in mind when selecting a monthly plan that the more CPU you can provide, the better quality and flexibility you’ll have in the end. Read more about CPU usage with Owncast.
Setting up DNS
- Login to your DNS provider.
- Add an “A Record” pointing to your_droplet_ip and the hostname you wish to use for Owncast.
- Wait approximately 5 minutes, but it may take longer depending on your DNS provider.
http://your_droplet_ip:8080in your browser loads then your install is complete.
- Reboot your new server so the SSL proxy starts.
Setting up SSL
- Login to your server by SSH’ing your new server:
- Enter the hostname you added to your DNS provider above, and your email address. These are only used to configure SSL on your new server so it’ll be accessible via HTTPS.
- In your browser visit
http://_your_droplet_ip_:8080and verify Owncast is running.
- In your browser visit the hostname you configured above
https://hostname.mydomain.comand verify Owncast is accessible via SSL.
- Start a stream using RTMP your software to this hostname or rtmp://your_droplet_ip/live using abc123 as the stream key. Visit the start streaming instructions for more details
With Owncast running you can begin to configure your new server by visiting the Admin located at
/admin. Visit the Configuration Instructions to learn how you can change your video settings, web page content, and more.
- Owncast is installed in
/opt/owncast. You’ll find all your data files there. This is also where you can upgrade your Owncast server in the future.
Since the DigitalOcean droplet comes with Owncast pre-installed you might find that it becomes out of date when a new version of Owncast is released. You can update it with these steps.
- ssh into your droplet as root:
cd /opt/owncastto change directory.
- Stop Owncast from running by running
systemctl stop owncast
- Run the Owncast installer as the owncast user:
su -c "curl https://owncast.online/install.sh |bash" owncast
- Restart Owncast:
systemctl start owncast