I have the following configurations:
httpd.conf :
Listen 80
Listen 81
<IfModule unixd_module>
User someone
Group admin
</IfModule>
vhosts configuration:
<VirtualHost *:81>
ServerAdmin codenaki@gmail.com
DocumentRoot "/Applications/XAMPP/htdocs/sites/conlineltd/project/public"
DirectoryIndex index.php
ServerName conlineltd.com
ServerAlias www.conlineltd.com
ErrorLog "logs/conlineltd-error-logs"
CustomLog "logs/conlineltd-custom-logs" common
</VirtualHost>
<VirtualHost *:81>
ServerAdmin codenaki@gmail.com
DocumentRoot "/Applications/XAMPP/htdocs/sites/beinstyle/project/public"
DirectoryIndex index.php
ServerName beinstyle.com
ServerAlias www.beinstyle.com
ErrorLog "logs/beinstyle-error-logs"
CustomLog "logs/beinstyle-custom-logs" common
</VirtualHost>
Permissions in mine project folder: project1
Permissions in mine project folder: project2
Hosts file /etc/hosts : Checked with ping command and working! hosts configuration
Chrome Browser Network Tab: While trying to connect to the server
Error log file from apache :
[Mon Dec 04 09:05:00.001257 2017] [ssl:warn] [pid 5426] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Mon Dec 04 09:05:00.001427 2017] [ssl:warn] [pid 5426] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Mon Dec 04 09:05:01.001614 2017] [ssl:warn] [pid 5430] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Mon Dec 04 09:05:01.001694 2017] [ssl:warn] [pid 5430] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Mon Dec 04 09:05:01.001777 2017] [lbmethod_heartbeat:notice] [pid 5430] AH02282: No slotmem from mod_heartmonitor [Mon Dec 04 09:05:01.010589 2017] [mpm_prefork:notice] [pid 5430] AH00163: Apache/2.4.27 (Unix) OpenSSL/1.0.2l PHP/7.0.23 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations [Mon Dec 04 09:05:01.010927 2017] [core:notice] [pid 5430] AH00094: Command line: '/Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -D SSL -D PHP'
Need your help please , how can i resolve this issue ?