bench icon indicating copy to clipboard operation
bench copied to clipboard

server home page shows 404 error

Open blackgerman opened this issue 2 years ago • 3 comments

Issue: Easy Install

The script runs perfectly unti the end, but when i go to the home page, http:/// , it brings out an 404 error.

blackgerman avatar Feb 07 '23 11:02 blackgerman

I am having the same issue. It says 404 page not found. By any chance did you find any solution by now?

Sanat-Teli-V2STech avatar Mar 06 '23 09:03 Sanat-Teli-V2STech

I hope you have added site1.local (whatever you have created) in your local /etc/hosts file if you are not using DNS and actual domain name.

sudo nano /etc/hosts
# ... add following at last line, replace 192.168.1.130 with your LAN IP or VM IP where frappe/eprnext is installed.
192.168.1.130 site1.local

Example Site URL will as follows:

http://site1.local:8000

yashodhank avatar May 14 '23 23:05 yashodhank

I tried this just now. When I opened the website I got this:

The certificate is not trusted because it is self-signed.
Error code: MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT

After bypassing it by clicking on "Accept the risk and continue" I got the same 404 not found

EDIT: okay, I just checked and it's a certificate issue because a certificate can't be issued to site1.localhost I think this should fix the error if one has a domain name setup. Thank you!

Sanat-Teli-V2STech avatar May 15 '23 04:05 Sanat-Teli-V2STech