aaPanel_Jose
Yes friend, thank you for your reply and help. I added aatest.app to my /etc/hosts I installed aaPanel to linux mint 19 - all works well. But i have other problem - i can not configure SSL for aatest.app and any other aapanel websites.. My software works via https connection only( And its very important configure SSL connections for aaPanel sites. aaPanel - great software and free! amazing! thanks.
let me say what i did for creating SSL certificates and configure ssl for aatest.app
1 - created certificates for aatest.app with sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /www/server/apache/certificates/aatest.app/server.key -out /www/server/apache/certificates/aatest.app/server.crt
2- copied to
cp /www/server/apache/certificates/aatest.app/server.crt /usr/share/ca-certificates/extra/server.crt
and to "/www/server/panel/vhost/cert/aatest.app/server.crt"
and cp /www/server/apache/certificates/aatest.app/server.key /www/server/panel/vhost/cert/aatest.app/server.key
3- add to /www/server/panel/vhost/apache/aatest.app.conf
`<VirtualHost *:80>
ServerAdmin email@gmail.com
DocumentRoot "/www/wwwroot/aatest.app"
ServerName cc048d4b.aatest.app
ServerAlias aatest.app
#errorDocument 404 /404.html
ErrorLog "/www/wwwlogs/aatest.app-error_log"
CustomLog "/www/wwwlogs/aatest.app-access_log" combined
#DENY FILES
<Files ~ (\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)$>
Order allow,deny
Deny from all
</Files>
#PHP
<FilesMatch \.php$>
SetHandler "proxy:unix:/tmp/php-cgi-73.sock|fcgi://localhost"
</FilesMatch>
#PATH
<Directory "/www/wwwroot/aatest.app">
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex index.php index.html index.htm default.php default.html default.htm
</Directory>
</VirtualHost>
<VirtualHost *:443>
General setup for the virtual host
ServerAdmin email@gmail.com
DocumentRoot "/www/wwwroot/aatest.app"
ServerName cc048d4b.aatest.app
ServerAlias aatest.app
SSLEngine on
SSLCertificateFile "/www/server/panel/vhost/cert/aatest.app/server.crt"
SSLCertificateKeyFile "/www/server/panel/vhost/cert/aatest.appl/server.key"
</VirtualHost>`
and i still have error - can not connect to https://aapanel.app/