Hello Community
Thanks in advance for all the help you can give me.
Look, thanks to several tutorials and the help of this forum, I was able to install an SSL certificate for my website. I had to make several modifications to several files to achieve it. In the httpd-ssl.conf file I define the SSL certificates and the main virtual host:
<VirtualHost _default_: 443>
# General setup for the virtual host
DocumentRoot "d: / wamp64 / www / MYSITEFOLDER"
ServerName www.MYDOMAIN.COM:443
ServerAdmin user@mail.xxx
ErrorLog "d: /wamp64/bin/apache/apache2.4.33/logs/error.log"
TransferLog "d: /wamp64/bin/apache/apache2.4.33/logs/access.log"
# SSL Engine Switch:
# Enable / Disable SSL for this virtual host.
Everything works fine, however in my httpd_vhost.conf file I notice that the virtual host created is on port 80, if I change it to 443 the apache does not start, if I leave it on port 80, the apache starts and my site works perfectly in https protocol.
# VHOST WEBCTE
<VirtualHost *: 80>
DocumentRoot "d: / wamp64 / www / MYSITEFOLDER"
ServerName thunder.com.org
ServerAlias www.thunder.com
<Directory "d: / wamp64 / www / mysitefolder">
Options Indexes FollowSymLinks
AllowOverride All
Order Deny, Allow
Allow from all
</ Directory>
</ VirtualHost>
Why does this happen?
The other help I need, if I made another project using the same wamp, which is in the www folder, and I would like it to open by the https protocol just like my main site. How I must configure those files to make it accesible? I have tried to modify the httpd_vhost.conf file but without results. I hope you can help me.
Thank you
Thanks in advance for all the help you can give me.
Look, thanks to several tutorials and the help of this forum, I was able to install an SSL certificate for my website. I had to make several modifications to several files to achieve it. In the httpd-ssl.conf file I define the SSL certificates and the main virtual host:
<VirtualHost _default_: 443>
# General setup for the virtual host
DocumentRoot "d: / wamp64 / www / MYSITEFOLDER"
ServerName www.MYDOMAIN.COM:443
ServerAdmin user@mail.xxx
ErrorLog "d: /wamp64/bin/apache/apache2.4.33/logs/error.log"
TransferLog "d: /wamp64/bin/apache/apache2.4.33/logs/access.log"
# SSL Engine Switch:
# Enable / Disable SSL for this virtual host.
Everything works fine, however in my httpd_vhost.conf file I notice that the virtual host created is on port 80, if I change it to 443 the apache does not start, if I leave it on port 80, the apache starts and my site works perfectly in https protocol.
# VHOST WEBCTE
<VirtualHost *: 80>
DocumentRoot "d: / wamp64 / www / MYSITEFOLDER"
ServerName thunder.com.org
ServerAlias www.thunder.com
<Directory "d: / wamp64 / www / mysitefolder">
Options Indexes FollowSymLinks
AllowOverride All
Order Deny, Allow
Allow from all
</ Directory>
</ VirtualHost>
Why does this happen?
The other help I need, if I made another project using the same wamp, which is in the www folder, and I would like it to open by the https protocol just like my main site. How I must configure those files to make it accesible? I have tried to modify the httpd_vhost.conf file but without results. I hope you can help me.
Thank you