Page Not Found redirects to home page

SYSTEM INFORMATION
Ubuntu Linux 20.04.6
Virtualmin version 7.8.2

When I enter a non existing page in the URL I should get a “Page not found” error message. However, I get redirected to a version of my home page. I do not have any custom redirects set up on the website.

Any suggestions?

This sounds like a problem with your Web application and nothing to do with Virtualmin.

I assume you can access the Virtualmin/ webmin GUI pages at https://yourdomain.tld:10000

What web app have you loaded to your VS?

I am using Drupal 10.1.6

So the most likely cause is a page within your web app.
Look in your access log to find the page request that is triggering the 404
and then fix the app to go to the correct page.

you read that wrong … what should be a 404 is a version of the home page (no 404) it sounds like there is some misconfig with apache (assuming apache) or some misconfig with the Drupal 10.1.6 app

A bad page in my web App was causing the problem. After deletion the problem was solved.

Thanks.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.