After Going from Dev to Prod Mode, I Couldn't Access My ERPNext Platform Anymore

I was on Production before I switched to Development and things were okay. Early today, I switched back to production following what I thought was right but I couldn’t access my site anymore!

I tried adding the domain back but it keep saying the domain name already exists, yet the site is not accessible. What do I do?

I have checked nano sites/mysite/site_config.json to add the domain name to the server block. What else could I be missing out on?

I have sorted it.

what was the solution please share

I did a re-setup of Nginx my self plus the installation of SSL certificate which wasn’t going through until someone else did the setup of nginx, accessed with http not https. He then shared the screenshot. That was when I realised my mistake. I re-installed the ssl certificate and everything started working well.

1 Like

do you know how to get realtime updates in dev mode?

I don’t understand what you mean. Can you explain furthers?

my socketio port isnt being forwarded in dev mode
i heard this happens in dev mode
i want to enable it so i can get realtime updates in dev mode or else i have to refresh everytime to get updates

Sincerely I didn’t know the framework has that capability. I will suggest you ask the question as a fresh one so those who know more can respond to you. I don’t have an answer to this.

okay thanks for the reply