I configured 2 virtual hosts on my apache server, but only the first vhost works. Whenever I access the ServerName of the second virtual host I get the first.
My virtual hosts:
NameVirtualHost *:80 DocumentRoot /var/www/html/lir-01 ServerName lir-01.com
DocumentRoot /var/www/html/lir-1 ServerName lir-1.com
httpd -S gives Syntax OK I restarted httpd
Please help - I feel like I've tried everything
Aucun commentaire:
Enregistrer un commentaire