John R Pierce a écrit :
> thats what serveralias is for...
>
Thanks. Now everything works as expected.
Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Niki Kovacs wrote:
> nate a écrit :
>> I think your issue is this, if these are different
>> virtual hosts I would set the ServerName to be
>> the name of the virtual host itself.
>>
>
> I think I found the error. Not exactly sure, but here goes. My virtual
> host configuration works OK when I vi
Niki Kovacs wrote:
> nate a écrit :
>
>> I think your issue is this, if these are different
>> virtual hosts I would set the ServerName to be
>> the name of the virtual host itself.
>>
>>
>
> I think I found the error. Not exactly sure, but here goes. My virtual
> host configuration works
Niki Kovacs wrote:
> Only the shorter form doesn't work, which means
> http://microlinux.buildbox and http://kikinovak.buildbox both result in
> viewing site 1. Which lets me carefully deduce that virtual hosts need
> to be called by their fully qualified domain name.
Yeah that sounds good, mysel
nate a écrit :
>
> I think your issue is this, if these are different
> virtual hosts I would set the ServerName to be
> the name of the virtual host itself.
>
I think I found the error. Not exactly sure, but here goes. My virtual
host configuration works OK when I view each site with its fully
Niki Kovacs wrote:
> NameVirtualHost *:80
>
>
>ServerAdmin i...@microlinux.fr
>DocumentRoot /var/www/html/microlinux
>ServerName buildbox.presbytere.local
[..]
>
>ServerAdmin cont...@kikinovak.net
>DocumentRoot /var/www/html/kikinovak
>ServerName buildbox.presbytere.local
nate a écrit :
>
> just add a record
>
> microlinux.buildbox IN A #.#.#.#
>
That gives me a partial success. I added my two virtual hosts to the DNS
server, like this:
babasse A 192.168.1.1
buildboxA 192.168.1.2
lifebookA 192.168.1.3
raymond
Niki Kovacs wrote:
> But that doesn't work out (yes, I restarted httpd :oD), because I think
> what's missing here is that I have to somehow add microlinux.buildbox
> (and later kikinovak.buildbox) to my local DNS server (only how?)...
just add a record
microlinux.buildbox IN A #.#.#.#
8 matches
Mail list logo