|
Home > Archive > Apache Server configuration support > May 2006 > config VirtualHost does not work good
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
config VirtualHost does not work good
|
|
|
| Hi, sorry about my Anglish,
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 (site_epieces.com) from another
machine (on my second 192.168.0.40) she 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.
<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>
| |
| Robert Ionescu 2006-05-29, 5:40 pm |
| live wrote:
> But when i try to use just servername (site_epieces.com) from another
> machine (on my second 192.168.0.40) she does not work.
But you do have some kind of local DNS setup for your network so that
site_epieces.com resolves on all machines within your network to
192.168.0.30?
--
Robert
|
|
|
|
|