Do I need a subdomain to use n8n?

I’m extremely new to all of this, so please excuse me if this is a stupid question. I’d also appreciate guidance.
I’m part of a small college group and I need to install n8n on our vps (to use with Chatwoot). I’m following this tutorial: | Tutorial | Como instalar n8n via docker com proxy Reverso- Passo a Passo | Cuidado Digital
“How to install n8n via Docker using reverse proxy.”
Our IT manager said he can create a domain for me to use, but that a subdomain shouldn’t be necessary. Do I need one?

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via: Docker
  • Operating system: Ubuntu 20.04

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

You do not need to use a subdomain, just add the url with the base domain and it will work. In the example of that tutorial, just leave out the subdomain from the .env file and the docker-compose file.

People usually use a subdomain so they can just use a domain that they already own since if you use the root domain for n8n then you won’t be able to use it for anything else

Let me know if that makes sense and if you have follow up questions

2 Likes

Thank you!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.