Hi everybody
I just configured a web server under Debian 6 in order to host many web sites on the same server. Until then, I've got 3 web sites that are working, "site1.com", "site2.com" and "site3.com".
J'ai made the DNS redirection to the IP address of my server, and activated my 3 sites using command a2ensite ... after creating the configuration file in the sites-available folder... The problem is, when I try to access my sites without the "www" (f.e. site2.com instead of www.site2.com) I always arrive on site1.com... Obviously, Apache2 takes always the first virtualhost...
What's the problem ? Do you have any idea ?
Thanks for your help