Hey there, I just installed a fresh version on my Digital Ocean CentOS 7 VPS.
I used the easy install script.
Last time I destroyed “everything” while I wanted to setup Letsencrypt and rename the default site.
Could anyone tell me how I can rename the site1.local to erp.mydomain.com ?
All I did is set a A Record in my DNS to point to the VPS IP.
Do I have to change some settings on my server locally too?
Thank you very much!
This still works
If bench restart hangs,
sudo systemctl restart supervisor
And then retry
I tried this now but “bench stop” is not working.
I tried : sudo systemctl stop supervisor
but this is giving me:
Failed to stop supervisor.service: Unit supervisor.service not loaded.
How can I stop bench - just by killing the process with pid?
Thanks
Just stop nginx will do
sudo service nginx stop
It’s mentioned in that link, please refer the last replies
1 Like
Thanks that worked great!
stopped nginx
mv site1.local erp.mydomain.com
edit all the site1.local entries in the nginx.conf
bench restart
start nginx
Everything fine so far
3 Likes
adam26d
6
Usually I’ll just:
-
Rename: mv sites/site1.local sites/erp.mydomain.com
-
Update Nginx: bench setup nginx
-
Reload Nginx: sudo service nginx reload
This always works for me!
17 Likes