Self-Host n8n on DigitalOcean with Custom Domain
D1100%75%50%
Step 1: Create a DigitalOcean Account
- Go to https://www.digitalocean.com (Free $200 in credit over 60 days using this link)
- Sign up or log in.
- Add your payment method if required.
Step 2: Find the n8n One-Click App
D2100%75%50%
- Go to DigitalOcean Marketplace
- Search for
n8n
in the search bar - Click on the n8n Automation Tool one-click app
- Hit Create n8n Droplet
Step 3: Configure Your Server
D3100%75%50%
- Choose a Plan:
- Use Basic Shared CPU, $4/month (cheapest)
- Choose Datacenter Region:
- Select the location closest to your users (e.g., Bangalore, NYC, Frankfurt)
- Authentication:
- Choose a strong root password
4.(Make it memorable or use a password manager)*
- Leave other options as default
Click Create Droplet
Step 4: Access Your n8n Instance
Wait 1–2 minutes for the droplet to be created.
Once deployed, note your droplet’s public IP address.
Set Up DNS for Your Domain
- Go to your domain’s DNS manager (like Namecheap, GoDaddy, etc).
- Create an A record:
- Host/Name:
n8n
- Type:
A
- Value: your droplet’s IP address
- TTL: You can leave this as default (or set to 30 mins / automatic)
This points
n8n.yourdomain.com
to your droplet.
Access the Droplet
n8n100%75%50%
- Back in DigitalOcean, click on the “Console” button to open a terminal window.
- You’ll now have access to your root server (no need to install anything).
- You’ll be asked to enter:
- Subdomain:
n8n
- Domain:
yourdomain.com
- Email: your email address (for SSL certificate setup)
Once done, n8n will install an SSL certificate and make your instance live at:
https://n8n.yourdomain.com
Step 5: Set Up Your n8n Account
D4100%75%50%
- When the n8n editor loads, it’ll ask you to create an account
- Fill in your:
- Name
- Password
- Hit Next and complete onboarding
Boom — you now have a fully self-hosted version of n8n running on your own DigitalOcean server.
Save EditClose