I am currently stuck with a Magento 2.3.1 CE installation on a VPS running on debian9 on LAMP
The installation went without any problems. But when I try to access the admin url I get the URL not found error.
the magento archive has been uploaded and extracted as the magento system user. All following tasks have been also performed as magento (who is member of www-data). The server has a https certificate (via certbot). And I use my own virtual host file, which has been activated.
Maybe the content is wrong:
<VirtualHost *:80> ServerName xxxx ServerAlias www.xxxx.xx ServerAdmin firstname.lastname@example.org DocumentRoot /var/www/html/ ErrorLog /home/magento/logs/error.log CustomLog /home/magento/logs/access.log combined <Directory /var/www/html/> Options Indexes FollowSymLinks MultiViews AllowOverride All </Directory> </VirtualHost>
the .htaccess file delievered with the magento package has not been touched.
I suppose a problem with my apache2 config, or a permission problem. mod rewrite is enabled.
Any hint is much appreciated.
apache2.4; php7.2.16 @debian9 squeeze + Magento CE 2.3.1
turns out the admin url was not changed at all. I entered a custom url during installation, still the random generated is saved in /app/etc/env.php
'frontName' => 'admin_9h7wss'
but even trying to access this url generates 404