Not Permitted You are not permitted to access this page. When using domain name

Hi

ERPNext is installed successfully. I am able to login on my local network 192.168…/ as an admin or named user, and it takes me to the 192.168…/desk page and i am able to work.

When i connect using my domain name https://mydomainname…za , click login, enter the Administrator details and i am taken to the https://mydomainname…za/desk page , i get the notification,

Not Permitted

You are not permitted to access this page.

Please advise as to what i have missed in the setup. I am a newbee to the command line and cannot find a setting in the GUI that i have missed.

Thanks for you time in this matter.

In site_config.json add host name

{
"db_password": "*********",
"host_name": "https://mydomainname....za"
}
1 Like

i’M facing the same problem, it was alright just 2 days ago, now everything, everyone cannot login, just a 'YOU"RE NOT PERMITTED…" stuff