This is a discussion on configured my apache to take 2 VirtualHost !!!! within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I have configured my apache to take 2 VirtualHost (on my first machine 192.168.0.30) , But when ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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> |
|
|||
|
Tanks David,
When i ping site_epieces.com yes it does, because i have add in hosts file system. "Davide Bianchi" <davideyeahsure@onlyforfun.net> a écrit dans le message de news: slrne6iudf.1tl.davideyeahsure@fogg.onlyforfun.net... > On 2006-05-15, live <s_abdelhakim@hotmail.com> wrote: >> But when i try to use just servername example (site_epieces.com) from > > Does the servername gets translated into the correct IP? If you type > (from another machine) ping site_epieces.com, does it respond? > >> >><VirtualHost 192.168.0.30> >><VirtualHost 192.168.0.30> > > I wounldn't use the IP address here, just '*'. > > Davide > > -- > I still miss Windows, but my aim is getting better. |