But when I used Listen, then it did not
biring anything even my primary site www.abc.com.
If I turned of Listen then my primary site www.abc.com
comes up.
Sure. If you set Listen to any IP, Apache *only* listens
to *this* IP. If you leave Listen out, Apache defaults
to listening to *any*
But when I used Listen, then it did not
biring anything even my primary site www.abc.com.
If I turned of Listen then my primary site www.abc.com
comes up.
Sure. If you set Listen to any IP, Apache *only* listens
to *this* IP. If you leave Listen out, Apache defaults
to listening to *any*
Wednesday, 04 April, 2001 12:39 PM
Subject: VirtualHosts
Thanks for everyone for suggestions.
I have used Listen and VirtualHosts directives.
Let me show you my dns files for two sites:
First one is primary which is, say abc.net
the second one is VirtualHost xyz.net.
The dns fil
On Wed, Apr 04, 2001 at 04:08:34PM +1000, Jeff Waugh wrote:
quote who="Y2KNET"
Listen 192.55.34.5:80
NameVirtualHost 192.55.34.5:80
VirtualHost 192.241.171.5:80
DocumentRoot /var/www/xyz
ServerName www.xyz.net
/VirtualHost
NameVirtualHost means that you're defining the
On Tue, Apr 03, 2001 at 11:39:46PM -0500, Y2KNET wrote:
The dns files resides on server ns1.abc.net
the first dns file is abc.hosts and following is its
configuration:
INNSns1.abc.net.
INNSns2.abc.net.
ns1INA
On Tue, 3 Apr 2001, Y2KNET wrote:
First one is primary which is, say abc.net
the second one is VirtualHost xyz.net.
ns1INA192.55.34.3
www.abc.net.INCNAMEns1.abc.net.
xyz.netIN A192.55.34.5
..
www.xyz.net. IN CNAME
Yes! I made a typing mistake, instead of writing 192.55.34.5,
I wrote the other address.
I tried the following for www.xyz.net:
Listen 192.55.34.5:80
NameVirtualHost 192.55.34.5:80
VirtualHost www.xyz.net
DocumentRoot /var/www/xyz
SeverName xyz.net
ServerAlais www.xyz.net
...
/VirtualHost
But when I used Listen, then it did not
biring anything even my primary site www.abc.com.
If I turned of Listen then my primary site www.abc.com
comes up.
Looks I am wandering somewhere near the solution.
I believe the VirtualHost tag should look like VirtualHost
www.xyz.net:80 to work
Thanks for everyone for suggestions.
I have used Listen and VirtualHosts directives.
Let me show you my dns files for two sites:
First one is primary which is, say abc.net
the second one is VirtualHost xyz.net.
The dns files resides on server ns1.abc.net
the first dns file is abc.hosts
quote who=Y2KNET
Listen 192.55.34.5:80
NameVirtualHost 192.55.34.5:80
VirtualHost 192.241.171.5:80
DocumentRoot /var/www/xyz
ServerName www.xyz.net
/VirtualHost
NameVirtualHost means that you're defining the virtual hosts by name. Change
the VirtualHost line to read:
VirtualHost
: Wednesday, 04 April, 2001 12:39 PM
Subject: VirtualHosts
Thanks for everyone for suggestions.
I have used Listen and VirtualHosts directives.
Let me show you my dns files for two sites:
First one is primary which is, say abc.net
the second one is VirtualHost xyz.net.
The dns files resides
On Wed, Apr 04, 2001 at 04:08:34PM +1000, Jeff Waugh wrote:
quote who=Y2KNET
Listen 192.55.34.5:80
NameVirtualHost 192.55.34.5:80
VirtualHost 192.241.171.5:80
DocumentRoot /var/www/xyz
ServerName www.xyz.net
/VirtualHost
NameVirtualHost means that you're defining the virtual
On Tue, Apr 03, 2001 at 11:39:46PM -0500, Y2KNET wrote:
The dns files resides on server ns1.abc.net
the first dns file is abc.hosts and following is its
configuration:
INNSns1.abc.net.
INNSns2.abc.net.
ns1INA
On Wed, Apr 04, 2001 at 12:54:51PM -0500, Nathan E Norman wrote:
[ sorry to reply to myself ... first sign of instability I'm told ]
| VirtualHost 192.55.34.5:80
| ServerName www.abc.net
| DocumentRoot /var/www/xyz/
| /VirtualHost
Uh, forget this section ... I looked at your CNAMEs
On Tue, 3 Apr 2001, Y2KNET wrote:
First one is primary which is, say abc.net
the second one is VirtualHost xyz.net.
ns1INA192.55.34.3
www.abc.net.INCNAMEns1.abc.net.
xyz.netIN A192.55.34.5
..
www.xyz.net. IN CNAME
Yes! I made a typing mistake, instead of writing 192.55.34.5,
I wrote the other address.
I tried the following for www.xyz.net:
Listen 192.55.34.5:80
NameVirtualHost 192.55.34.5:80
VirtualHost www.xyz.net
DocumentRoot /var/www/xyz
SeverName xyz.net
ServerAlais www.xyz.net
...
/VirtualHost
Thanks for everyone for suggestions.
I have used Listen and VirtualHosts directives.
Let me show you my dns files for two sites:
First one is primary which is, say abc.net
the second one is VirtualHost xyz.net.
The dns files resides on server ns1.abc.net
the first dns file is abc.hosts
quote who="Y2KNET"
Listen 192.55.34.5:80
NameVirtualHost 192.55.34.5:80
VirtualHost 192.241.171.5:80
DocumentRoot /var/www/xyz
ServerName www.xyz.net
/VirtualHost
NameVirtualHost means that you're defining the virtual hosts by name. Change
the VirtualHost line to read:
VirtualHost
18 matches
Mail list logo