Change site name

I have set folder name in site folder, so I’m getting folder name except site domain.
my site folder name is erp but my domain is erp.mydomain.in
my system get the following url
http://erp:8000/api/method/twilio_integration.twilio_integration.api.whatsapp_message_status_callback is not a valid URL.

while it has to take
http://erp.mydomain.in/api/method/twilio_integration.twilio_integration.api.whatsapp_message_status_callback

is there any solution. Please suggest me.

Thank you

So which one do you want to do?

  1. To change folder name (regardless of the domain to use) you can use:
mv oldname newname

for complete steps you can search the forum. Some good posts exists.

  1. To be able to access site on certain domain (regardless of the site name):
bench setup add-domain --help

Hey thanks for the super helpful reply. I’m not sure how I missed that thread. I haven’t quite mastered the search function on here. I think I’ll pass with him this time around. If i want any further guideline we will contact you here https://discuss.erpnext.com/t/change-site-name/88710/2-results.
Thanks