configured my apache to take 2 VirtualHost !!!!

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-15-2006
live
 
Posts: n/a
Default configured my apache to take 2 VirtualHost !!!!

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>



  #2 (permalink)  
Old 05-16-2006
live
 
Posts: n/a
Default Re: configured my apache to take 2 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.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:29 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0