Incorrect domain name in email

When a user signup on my erp website the password confirmation link in the email starts as " https://mydomain.com:8000/etc"
But this link is incorrect due to port number, how can I disable this port number? the correct link should be “https://mydomain.com/etc
please help

Removing the webserver port from the site configuration worked

Hi @Khadija

Can you please help me? How can I remove port 8000 from URL ?

From webserver port from the site configuration

Hi, you will get file name from ERPNEXT folder/sites/common_site_config.json

1 Like

Thanks @Suresh_Thakor !!!

I found it.

@Suresh_Thakor,

I got an Internal Server Error after doing this.

are you confirm that you have removed coma ", " behind last line of socketio_port ?

is it production or development instance ?

check server port in the location of etc >> nginx >> config.d >> your config file

below command override your nginx and supervisorctl config
run bench setup production --user

1 Like

@Suresh_Thakor

Done Done.

I removed the last “}” ( bracket ) That’s why it is giving error !! :sweat_smile:

It is in production. We have deployed on Bitnami Stack.