How could I use N8N_EDITOR_BASE_URL?

Yes, but I do not know how that 2 env have 2 subdomain could point to the same ip address at port 5678. It seems n8n could use the same address for 2 subdomain, isn’t it?

It is like:
https://n8n.mydomain.com/ → ip:5678
https://n8neditor.mydomain.com/ → ip:5678

Could you instruct me how to do this exactly, please?