Posted by HAK on 05/15/06 21:51
Hi,
I have configured my apache to take 2 VirtualHost (on my first machine
192.168.0.30) ,
But when i try to use just servername example (site_epieces.com) from
another
machine (on my second 192.168.0.40) does not work.
But when i use 192.168.0.30 it works. I use different port 80 and 81
192.168.0.30:80 he give me site_epieces.com
192.168.0.30:81 he give me site_gvs.com
Can some one helpme tanks.
here is my VirtualHost.
<VirtualHost 192.168.0.30>
DocumentRoot "C:/Documents and Settings/gvs/Mes
documents/sites/site_epieces.com/site/web"
ServerName site_epieces.com
ErrorLog "C:/Documents and Settings/gvs/Mes
documents/sites/site_epieces.com/local-logs/error.log"
CustomLog "C:/Documents and Settings/gvs/Mes
documents/sites/site_epieces.com/local-logs/access.log" combined
</VirtualHost>
<VirtualHost 192.168.0.30>
DocumentRoot "C:/Documents and Settings/gvs/Mes
documents/sites/site_gvs.com/site/web"
ServerName site_gvs.com
ErrorLog "C:/Documents and Settings/gvs/Mes
documents/sites/site_gvs.com/local-logs/error.log"
CustomLog "C:/Documents and Settings/gvs/Mes
documents/sites/site_gvs.com/local-logs/access.log" combined
</VirtualHost>
Navigation:
[Reply to this message]
|