Journal domain name in mulsite installation gives error

I followed this setting: Each journal with its own domain name - #30 by florianruckelshausen and one of my journal has its own domain, but it gives always this error in the interface:
Schermata da 2022-03-24 17-24-40
In the server log I got this:

[Tue Mar 29 15:11:34.530832 2022] [php7:notice] [pid 172402] [client] ojs2: 404 Not Found, referer: journalurl

Those are my precise settings.
In .htaccess:

RewriteEngine On RewriteBase / 
#Journal has its own domain RewriteCond %{SERVER_NAME} ^(www\.)?url.com
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteRule ^(.*)$ /index.php/url/$1 [QSA,L]

In the config.php:

base_url[journal] = journalurl.com
base_url[test] = http://test.com/index.php/test 
allowed_hosts = "[\"test.com", "journalurl.com"]"
restful_urls = On

Created the specific conf file in sites-available and enabled with a2ensite:

ServerName journalurl.com

        <Directory /var/www/ojs>
                Options Indexes FollowSymLinks Multiviews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

What can be wrong?

Update:

I followed this: [OJS 3.2.0.3] Error on Submission Page - #24 by KBodarwe and it seems to be working. I am wondering if there will be problems with the DOI plugin for the different journals I have. I hope not.

This topic was automatically closed after 10 days. New replies are no longer allowed.