J'ai du mal m'exprimer !
Voici mon fichier messites.conf :
<VirtualHost *:80>
# Site principal du serveur Leviathan
ServerName leviathan.loh
# Dossier contenant les pages
DocumentRoot /var/www/html
<Directory /var/www/html>
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
AllowOverride FileInfo AuthConfig Limit
</Directory>
# jeu de caractères (UTF-8 par défaut)
AddDefaultCharset ISO-8859-1
</VirtualHost>
<VirtualHost *:80>
# Site 1 Site clandragoon.free.fr
ServerName site1.leviathan.loh
# Dossier contenant les pages
DocumentRoot /var/www/html/site1
<Directory /var/www/html/site1>
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
AllowOverride FileInfo AuthConfig Limit
</Directory>
# jeu de caractères (UTF-8 par défaut)
AddDefaultCharset ISO-8859-1
</VirtualHost>
<VirtualHost *:80>
# Site 2 : Site de maman
ServerName site2.leviathan.loh
# Dossier contenant les pages
DocumentRoot /var/www/html/site2
<Directory /var/www/html/site2>
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
AllowOverride FileInfo AuthConfig Limit
</Directory>
# jeu de caractères (UTF-8 par défaut)
AddDefaultCharset ISO-8859-1
</VirtualHost>
Actuellement, tout est en réseau local non sortant, tous les postes se branchent sur la LiveBox.
Bref, personne ne peut voir mon serveur de l'extérieur.
Mon fichier host sur mon poste client Windows :
192.168.1.4 leviathan.loh site1.leviathan.loh sit2.leviathan.loh
Hors j'aimerais n'avoir que une ligne style :
192.168.1.4 leviathan.loh
Et que quand je tape site1.leviathan.loh dans FireFox ca pointe sur le server local et non à l'extérieur