I'm new in magento and need to fix these issue

error appears - "Not Found

The requested URL was not found on this server. Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.4.15 Server at localhost Port 80"

appears 404 on front end and back-end also

OS: Windows 10,

Xampp v3.2.4,

Composer tried both v1 & v2,

Mangento Version: 2.4.2,


please help to get these fix!!!!

1 Answer 1


you must configure a virtual host for your magento installation and make sure the document root set in your apache configuration points to <magento_root>/pub folder.

Check this thread frontend and admin not working magento 2.4.2 upgrade for more details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.