How to Install n8n on a DigitalOcean Droplet

When I first started using n8n, I quickly realized how powerful it is for automating everyday workflows — from content publishing to notifications and integrations between services.
However, getting n8n running in a stable, production-ready environment can feel a bit confusing at first, especially if you’ve never self-hosted it before.

In this guide, I’ll walk you through how I personally set up n8n on a DigitalOcean Droplet, using the official Marketplace application. This approach avoids unnecessary complexity and gives you a clean setup with HTTPS, a custom domain, and full control over your workflows.

If you’re looking for a straightforward, reliable way to run n8n on your own server, this tutorial will get you there step by step.


1. Create a DigitalOcean Droplet with the n8n Application

Step 1: Log in to DigitalOcean

Go to https://cloud.digitalocean.com and log in.

Step 2: Create a new Droplet

  • Click Create → Droplets
  • Choose Marketplace
  • Search for n8n
  • Select n8n – Workflow Automation

Step 3: Choose a Droplet plan

Recommended:

  • Basic
  • 1 vCPU
  • 2 GB RAM
  • 25 GB SSD

Step 4: Choose a region

Select the region closest to your users.

Step 5: Authentication

Use SSH keys (recommended).

Step 6: Create Droplet

Click Create Droplet and wait for provisioning.


2. Configure DNS (A Record)

Create an A record at your domain provider:

TypeHostValue
An8nYOUR_DROPLET_IP

3. SSH and Configure n8n

ssh root@YOUR_DROPLET_IP

Run setup if it does not start automatically:

sudo n8n setup

Enter:

  • Subdomain: n8n
  • Domain: yourdomain.com
  • Timezone: Asia/Ho_Chi_Minh
  • Email: for SSL

4. Access n8n

Open:

https://n8n.yourdomain.com

Create the admin account and start using n8n.


Conclusion

At this point, your n8n instance should be up and running on DigitalOcean, secured with HTTPS and accessible through your own domain. This setup has been stable for me and works well for both small automations and more complex workflows.

From here, you can start experimenting with real use cases — sending notifications, connecting WordPress to Slack, scheduling background jobs, or integrating external APIs. One of the biggest advantages of self-hosting n8n is that you stay in full control of your data and your automation logic.

In future posts, I’ll be sharing more practical n8n workflows and real-world examples that I’m currently using. If you have a specific use case in mind or run into issues during setup, feel free to leave a comment or reach out.

Happy automating 🚀

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *