N8n on top level domain

I want to use n8n on my main domain

I set the .env file as blank on SUBDOMAIN=, but dont works.

The top level domain to serve from, this should be the same as the subdomain you created above

DOMAIN_NAME=mydomain.app

# The subdomain to serve from
SUBDOMAIN=

The same for caddy

mydomain.app {
reverse_proxy n8n:5678 {
flush_interval -1
}
}

Help?

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 can just leave that envelope var out entirely and just set it in the N8N_EDITOR_BASE_URL and WEBHOOK_URL (include https://)

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