Change main domain

Hi, I previously set the domain to sub.domain.com for administrative access. Now I want to change it to sub.new-domain.com. I edited the .evn file and it didn’t make any changes.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hey @nhanh102,
Did you change the dns settings for the new domain to your n8n server?

Cheers.

Yes i Have. But Error This page isn’t working redirected you too many times, And Url old run ok

Hey @nhanh102, do you have a reverse proxy in use? Is it configured to handle requests sent to your new sub-domain and to forward these to n8n?

And do you have any environment variables specified in n8n that point to your domain?

I have solved it, I need a few hours for ssl to work maybe it is beyond the limit. and restart docker. cloudflare unfortunately I can’t use it for more advanced security

3 Likes