Error 500 cross-origin

According to the log, the SSL certificate doesn’t include an ID could it be the issue?
No idea why this is happening, I’ve another VPS with 5 (SSL) websites (same OS, hCP) and everything work fine.
Perhaps is something related to Apache and hCP [2] ?
Thanks

/var/log/nginx/domains/cxxxi.com/error.log

2024/05/29 12:12:02 [notice] 199899#199899: using inherited sockets from "9;10;11;"

/var/log/apache2/domains/cxxxi.com/error.log

[Thu May 30 01:24:02.055462 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00493: SIGUSR1 received.  Doing graceful restart
[Thu May 30 01:24:02.161739 2024] [ssl:warn] [pid 209627:tid 140319393417088] AH01909: 162.xxx.xxx.xxx:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 30 01:24:02.162819 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00489: Apache/2.4.59 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 configured -- resuming normal operations
[Thu May 30 01:24:02.162849 2024] [core:notice] [pid 209627:tid 140319393417088] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 30 10:15:41.248470 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00493: SIGUSR1 received.  Doing graceful restart
[Thu May 30 10:15:41.336445 2024] [ssl:warn] [pid 209627:tid 140319393417088] AH01909: 162.xxx.xxx.xxx:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 30 10:15:41.337508 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00489: Apache/2.4.59 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 configured -- resuming normal operations
[Thu May 30 10:15:41.337542 2024] [core:notice] [pid 209627:tid 140319393417088] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 30 10:15:41.848761 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00493: SIGUSR1 received.  Doing graceful restart
[Thu May 30 10:15:41.926719 2024] [ssl:warn] [pid 209627:tid 140319393417088] AH01909: 162.xxx.xxx.xxx:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 30 10:15:41.927920 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00489: Apache/2.4.59 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 configured -- resuming normal operations
[Thu May 30 10:15:41.927947 2024] [core:notice] [pid 209627:tid 140319393417088] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 30 10:16:38.269746 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00493: SIGUSR1 received.  Doing graceful restart
[Thu May 30 10:16:38.357608 2024] [ssl:warn] [pid 209627:tid 140319393417088] AH01909: 162.xxx.xxx.xxx:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 30 10:16:38.358915 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00489: Apache/2.4.59 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 configured -- resuming normal operations
[Thu May 30 10:16:38.358949 2024] [core:notice] [pid 209627:tid 140319393417088] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 30 10:16:38.796390 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00493: SIGUSR1 received.  Doing graceful restart
[Thu May 30 10:16:38.873344 2024] [ssl:warn] [pid 209627:tid 140319393417088] AH01909: 162.xxx.xxx.xxx:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 30 10:16:38.874272 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00489: Apache/2.4.59 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 configured -- resuming normal operations
[Thu May 30 10:16:38.874295 2024] [core:notice] [pid 209627:tid 140319393417088] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 30 12:23:39.511807 2024] [mpm_event:notice] [pid 209627:tid 140319393417088] AH00492: caught SIGWINCH, shutting down gracefully
[Thu May 30 12:23:39.650342 2024] [ssl:warn] [pid 379732:tid 139777361393536] AH01909: 162.xxx.xxx.xxx:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 30 12:23:39.651617 2024] [suexec:notice] [pid 379732:tid 139777361393536] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu May 30 12:23:39.685802 2024] [ssl:warn] [pid 379733:tid 139777361393536] AH01909: 162.xxx.xxx.xxx:443:0 server certificate does NOT include an ID which matches the server name
[Thu May 30 12:23:39.690432 2024] [mpm_event:notice] [pid 379733:tid 139777361393536] AH00489: Apache/2.4.59 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 configured -- resuming normal operations
[Thu May 30 12:23:39.690493 2024] [core:notice] [pid 379733:tid 139777361393536] AH00094: Command line: '/usr/sbin/apache2'
[Thu May 30 13:17:01.127667 2024] [proxy_fcgi:error] [pid 379735:tid 139776246130240] [client 165.227.92.219:0] AH01071: Got error 'Primary script unknown'
[Thu May 30 13:17:04.690833 2024] [proxy_fcgi:error] [pid 379736:tid 139776984327744] [client 165.227.92.219:0] AH01071: Got error 'Primary script unknown'
[Thu May 30 13:17:06.284347 2024] [proxy_fcgi:error] [pid 379736:tid 139776975935040] [client 165.227.92.219:0] AH01071: Got error 'Primary script unknown'

public_html/.htaccess

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

    RewriteEngine On

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.+)/$
    RewriteRule ^ %1 [L,R=301]

    # Send Requests To Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>
<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
</IfModule>

[2] Laravel Project Problem