These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for A new virtual server takes over other sites on http (not https) on the new forum.
Hello, After I create a new virtual server with Virtualmin the access takes over other sites if they are accessed with http. It doesn't interfere if it is accessed via secure https.
So http://old-site-url >> Wrong site : it goes to http://new-site-url
So https://old-site-url >> Correct site.
My settings of apache are old and it now I am afraid to create any new site because it disturbed. They had been created via Virtualmin but when we secured the sites with letsencrypt the setting had been added manualy. I thing that it does confuse Virtualmin… Thank for any help. Ichi
Howdy,
You may be seeing the issue described here... this link has some troubleshooting steps:
https://www.virtualmin.com/documentation/web/troubleshooting#toc-the-wro...
Thank you Andrey,
I use the command grep -i '<virtualhost' /etc/apache2/sites-enabled/*.conf
/etc/apache2/sites-enabled/NEWSITE-URL.conf: /etc/apache2/sites-enabled/NEWSITE-URL.conf: /etc/apache2/sites-enabled/OLDSITE-URL.conf: /etc/apache2/sites-enabled/OLDSITE-URL.conf:
Does the * explain the trouble ?
Ah, I got it the page https://www.virtualmin.com/documentation/web/troubleshooting#toc-the-wro... point it out : "You would also want to verify that each VirtualHost block lists an IP address, and not an asterisk (*) character." This was the trouble with the . Thank you very much Andrey !! This was driving me mad… I feel safer with the server now ;-) But can I set Virtualmin to create the sites-enabled/NEWSITE-URL.conf with the right IP ?