I would like to know how to enable multiple domians on n8n. The reason why I need this is because in some locations, my main domain is block due to it being a “.dev” ending domain which is considered a new and unverified domains.
thus I wanna use it on another domain that is more accessible.
I am using a normal VPS with the docker compose method of hosting. I have the .env setup with my current domain.
The issue I am having when attempting to access the server with the other domain is that the SSL certificate is not valid. (to be expected)
I know this is a weird request but wondering if anyone knows a work around for it.
I have 2 domains (for example, your_firts_domain.com, your_second_domain.com) for same n8n.
both domain share exact same n8n, and I have no issue so far.
You need to get ssl certificate for each domain.
The following is the config files I set. I am using nginx.
ah I see, you running a reverse proxy with nginx. I was thinking about that but couldnt get the config to work. thanks for sharing that. I will test this tomorrow!
Hi, I am back and I am trying to get this to work but I am getting certbot errors when trying to get it to work. could you please expand more on how you set this entirely up with nginx as well?