we keep all our infrastructure in the cloud with Digital Ocean and to optimize costs, we would like to host n8n there as well.
However, when trying to create a droplet and follow the steps given in the n8n documentation, I have not been able to make it work. This is the second time I have created a subdomain and droplet, but in both cases, although the installation is successful without errors, I cannot access the domain. The first attempt was yesterday, and the second one was this morning.
Can you help me understand what I might be doing wrong?
1. Install Docker sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release sudo mkdir -p /etc/apt/keyrings curl -fsSL [https://download.docker.com/linux/ubuntu/gpg](https://download.docker.com/linux/ubuntu/gpg) | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] [https://download.docker.com/linux/ubuntu](https://download.docker.com/linux/ubuntu) $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io 3. Install Docker-Compose# sudo apt-get install docker-compose-plugin [Digital Ocean - n8n Documentation](https://docs.n8n.io/hosting/installation/server-setups/digital-ocean/) Clone configuration repository git clone [https://github.com/n8n-io/n8n-docker-caddy.git](https://github.com/n8n-io/n8n-docker-caddy.git) cd n8n-docker-caddy Create Docker volume docker volume create caddy_data Open ports sudo ufw allow 80 sudo ufw allow 443 Configure n8n nano .env The Docker Compose file nano docker-compose.yml Configure Caddy nano caddy_config/Caddyfile Start Docker Compose docker compose up -d
Here are the sources: Docker Compose - n8n Documentation
Here is my subdomain: n8n.felipewelington.com.br
Here is DNS checker: DNS Checker - DNS Check Propagation Tool
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.