RE: [users@httpd] Virtual host question- Webserver

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

 



Davide, 

Let us assume my hostnames 2287 and 2288 . How should I go about
creating a 

I tried the following is it correct ?

NameVirtualHost *:80
 <VirtualHost *:9080>
   ServerName BLRD2287
   DocumentRoot /www/docs/dummy-host.example.com
 </VirtualHost>
 <VirtualHost *:9081 >
   ServerName BLRD2288
   DocumentRoot /www/docs/dummy-host.example.com
 </VirtualHost>

I am not sure what should I specify for <virtualHost entry ?


-Loga
-----Original Message-----
From: Davide Bianchi [mailto:davide@xxxxxxxxxxxxxx] 
Sent: Friday, July 08, 2005 5:09 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Virtual host question- Webserver

Loganathan Ramasamy wrote:
> version of my application and I can access my application using the
> following two URLs
> 
> http://blrd2287:9080/RPM
> http://blrd2287:9081/RPM
> 
> As you might have noticed the domain name "blrd2287" is same for both
> the URLs, So I am really confused about creating a virtual host in my
> web server conf file.

You need to use two different hostnames, even if they are fake
names and only works locally on your machine.

Davide

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


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