cancel
Showing results for 
Search instead for 
Did you mean: 

The requested URL was not found on this server.

The requested URL was not found on this server.

I have a old Magento 2.4 website (built using Bitnami Package) which all of a sudden started giving below mentioned error.

2024-07-24_13-38-24.png
My website is not SSL enabled but when put the website link with https:// it opens up the customer side properly and even opens up the admin side (kind of broken visual but working).

But with http:// its giving up above error.

I already tried these solutions : https://webkul.com/blog/the-requested-url-was-not-found-on-this-server-magento2/ (wasn't able to locate the files mentioned on the solution 2) but rest are not working.

2 REPLIES 2

Re: The requested URL was not found on this server.

Hello @rvermasuit41ad 

 

  • Magento might be expecting a valid SSL certificate when accessed with https://, even if not explicitly enabled. This can happen if the Bitnami package had some pre-configured settings.
  • There might be redirects in place (through server configuration or Magento settings) that are causing issues with http:// access
  • Go to Stores > Configuration > General > Web in your Magento admin panel.
    • Ensure "Use Secure URLs in Storefront" and "Use Secure URLs on Admin" are set to No.
    • Save the configuration.
    • If you have access to your web server configuration files (like Apache's .htaccess), check for any redirects that might be forcing https:// access. Look for lines with RewriteRule or Redirect.
    • Magento heavily relies on cache. Clear the Magento cache through the admin panel (System > Cache Management) and see if it resolves the http:// access issue.
    • In some cases, recompiling Magento after configuration changes can help. You can usually find instructions for recompiling in the Bitnami documentation for your specific package.
Was my answer helpful? You can accept it as a solution.
175+ professional extensions
Need a developer?Hire Magento Developer

Re: The requested URL was not found on this server.

Hello @Gaurav_Jain02 ,
Thanks for your reply.

This is around 2 year old website which was working fine till few days back and now getting into issue. So I don't think it could be looking for a SSL certification all of a sudden.

For the last suggestion given by you will require me to do those changes on the Admin centre. but that's the issue itself, I can not open the admin screen.

Just an additional info : 
Here what comes up while opening the customer view of the website.2024-07-25_11-47-10.png