A couple days ago, I set up Coolify on a Hostinger VPS, set up two projects, one for me and one for a friend, then installed N8N in each project. It took hours of tinkering and getting advice from Grok and ChatGPT, but I eventually had one instance working perfectly on https://n8n.domain.com and the other on https://n8n2.domains.com.
Unfortunately, my Coolify dashboard got corrupted and I had to start over from scratch. After an absurd amount of time, I have not been able to recreate what I had working, the two separate instances of N8N. I’ve tried everywhere I can imagine to change the port on the second instance, inckuding of course setting a different port in an N8N_PORT environment variable.
Bottom line? I’ve spent so much time on it now my brain is fried and I simply don’t know what to do. How do I recreate what I had, with one instance running on n8n.domain.com and the other running on n8n2.domain.com?
how was you setting the dns/proxy? and are u using dockers in coolify? If you’ve done port and GUI / webhook URL set, its typically down to DNS then or the proxy, btw did you set N8N_PROTOCOL also? Where are u domain hosted also, are they pointing to the correct locations?
The DNS settings in squarespace are just like they were the day before (when both instances of N8N were working). It’s simply an A record pointing to the IP of the server. Yes, I set the N8N_PROTOCOL variable to HTTPS. I also tried setting a different port (5679) for the second instance everywhere I could find to do so in coolify. No matter what I changed, however, it runs on 5678 when it launches. Oh well, I’ve given up on this. It was really just a convenience I was trying to implement and it’s not important enough to warrant this much time. I’ll just set it up on a second server.