Re: Virtual Hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18:13 Sun 30 Dec     , Norman Peelman wrote:
> Joe wrote:
>> On 17:52 Sun 30 Dec     , Victor Trac wrote:
>>   
>>> On Dec 30, 2007 4:53 PM, Joe <joem@xxxxxxxxxxxxxx> wrote:
>>>     
>>>> I used to be able to do this in 1.3 but now using 2.2 I can't get it to
>>>> work. Running on a Debian server in /etc/apache2/apache2.conf I have
>>>> (where nnn.nnn.nnn.nnn = my IP address)
>>>     
>> Trying that and I cannot connect at all. Get the following error
>>
>> Address already in use: make_sock: could not bind to address
>> nnn.nnn.nnn.nnn:80
>>
>>   
> Listen 80
>
> NameVirtualHost *
>
> <VirtualHost *>
>    ServerName yoursite.com
>    ServerAlias www.yoursite.com
>    ...
> </VirtualHost>
> <VirtualHost *>
>    ServerName yoursite2.com
>    ServerAlias www.yoursite2.com
>    ...
> </VirtualHost>
>
>
Thank you Norman, that got it. Guess I couldn't see the wood for the
trees. 

-- 
Joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux