Laravel showing only Homepage and all other routes showing 404 on shared hosting

I am using ionos shared hosting and pointing my subdomain to laravel and react public folder but only / homepage is working all else is showing 404. I tried to dd on /welcome route but i see it’s not even pointing index.php. Also uploaded the production files of js to run the router.js that i believe it should first point to index.php but it’s not doing that.

What can possibly go wrong?

.htaccess file here:

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
 </IfModule>