Changing the confirmation url for new registrations to my remote server for production

So I can Find out where to set the remote url for confirmation of emails URL.

When I change the host env variable from my app stops running as it is running on a node server?

Thank you for registering!

You have to confirm your email address. Please click on the link below.

<%= URL %>?confirmation=<%= CODE %>