Ecommerce Shopify WordPress Discussion

Apache virtualhost port 80 serves content from port 443 configuration (redirect to the wrong website) [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed yesterday. Improve this question I have a webserver apache2 on a debian 10 machine. I have 2 websites in production, working with SSL. I recently added a third website on the server, but this one is without SSL. (DNS configuration is done, and hosts file also). Server version: Apache/2.4.38 (Debian) I did a lot of tests, but I can't access the new website, I'm everytime redirected on one of my other sites (with SSL). I created and activated the new website using a2ensite, and I think my configuration file is correct. I added the domain in my hosts file. I have created completely new conf files for the 3 sites, but I've got the same problem. Server is listening on port 80 and 443. Here is my virtualhost for the non SSL website : <VirtualHost *:80> ServerAdmin ServerName DocumentRoot /var/www/chambre-dhotes-loustalet <Directory /var/www/chambre-dhotes-loustalet> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> ErrorLog ${APACHE_LOG_DIR}/chambre-dhotes-loustalet_error.log CustomLog ${APACHE_LOG_DIR}/chambre-dhotes-loustalet_access.log combined </VirtualHost> Here is the virtualhost where the website is redirected : <VirtualHost *:443> ServerAdmin ServerName DocumentRoot /var/www/kraken-hardware SSLEngine on SSLCertificateFile /etc/ssl/www-kraken-hardware-fr/www.kraken-hardware.fr_ssl_certificate.cer SSLCertificateKeyFile /etc/ssl/www-kraken-hardware-fr/www.kraken-hardware.fr_private_key.key SSLCACertificateFile /etc/ssl/www-kraken-hardware-fr/www.kraken-hardware.fr_ssl_certificate.cer SSLCACertificateFile /etc/ssl/www-kraken-hardware-fr/www.kraken-hardware.fr_ssl_certificate_INTERMEDIATE.cer <Directory /var/www/kraken-hardware> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> ErrorLog ${APACHE_LOG_DIR}/kraken-hardware_error.log CustomLog ${APACHE_LOG_DIR}/kraken-hardware_access.log combined </VirtualHost> Can someone can help me to avoid this wrong redirection? Does someone know where the problem come from? I'am looking for a solution everywhere but I didnt found anything working for me...
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.