Some links on my website are not working. Will not redirect when clicked

SYSTEM INFORMATION
OS type and version Ubuntu 24.04.2 LTS
Virtualmin version 7.9.0 Pro

Hello I am new to virtualmin and I just installed my website on my virtual server and I noticed that some of my links when clicked on are not working at all it will just stay on the same page. I have setup the A Records on name cheap for my domain already.

If you hover over the links are they pointing correctly.
You probably need to explain more what type website.
Is it static or dynamic like wordpress.

Yes when I hover over the links they are pointing correctly. It is a static website.

Not sure what you issue is, static pages are pretty simple things, maybe check the log files.

You’d have to have some sort of JavaScript catching the default click handler for the behavior you describe to happen. (Not related to Virtualmin, and probably not related to the web server, unless maybe permissions or something are preventing JS from being served correctly, or maybe you have incorrect paths for some of those assets.)

You should check the web developer tools console in your browser for JavaScript errors, in addition to checking the web server logs (always check the logs).

So I have checked with the web developer tools on chrome and I have found “Failed to load resource: the server responded with a status of 404 ()”

So, you need to look in the web server access log to see what path it’s trying to load that is failing, and you’ll need to fix that problem. It’s almost certainly an application level issue, but could also be related to missing or misconfigured .htaccess or Redirect or Proxy rules.

where did you get that from ? As far as I know 7.30.8 is the current version.
did you just copy the website from another server, if so is the domain name the same ? you may find the code is trying to load http://old-domain.tld/resource and not http://new-domain.com/resource is the website pure html or something like wordpress ?

Maybe its the module version for webmin

We would certainly like OP to be running an up to date version of Virtualmin, but it can’t have anything to do with this problem. (Virtualmin has nothing to do with OPs problem, regardless of version. It’s an application issue, or possibly something wrong in Redirect/Proxy rules, maybe in .htaccess.)