RE: [users@httpd] port 80 and port 8080

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

 



Thank you Vic, It work!! =)

-----Mensaje original-----
De: Victor Trac [mailto:victor.trac@xxxxxxxxx] 
Enviado el: Thursday, May 18, 2006 8:52 AM
Para: users@xxxxxxxxxxxxxxxx
Asunto: Re: [users@httpd] port 80 and port 8080

>From http://httpd.apache.org/docs/2.0/vhosts/examples.html:

     Listen 80
     Listen 8080
 		
     NameVirtualHost 172.20.30.40:80
     NameVirtualHost 172.20.30.40:8080
 		
     <VirtualHost 172.20.30.40:80>
              ServerName www.example1.com
         DocumentRoot /www/domain-80
          </VirtualHost>
 		
     <VirtualHost 172.20.30.40:8080>
              ServerName www.example1.com
         DocumentRoot /www/domain-8080
          </VirtualHost>
 		
     <VirtualHost 172.20.30.40:80>
              ServerName www.example2.org
         DocumentRoot /www/otherdomain-80
          </VirtualHost>
 		
     <VirtualHost 172.20.30.40:8080>
              ServerName www.example2.org
         DocumentRoot /www/otherdomain-8080
          </VirtualHost>

Modify your httpd.conf and restart apache.

-Victor

On 5/18/06, Ana Lucía Zapata Barros <alzapata@xxxxxxxx> wrote:
>
>
>
>
>
> It's possible for apache have 2 different ports, 80 and 8080, for the same
service??
>
>
>
> I modify the httpd.conf file, and add Listen 80 and start apache at port
80 with the sudo command.
>
>
>
>
>
> And when I start the apache at 8080 port, appear a message that say it's
running but when I access by web I can't find the service and the command
netstat ?an doesn't show me the 8080 port only the 80 port.
>
>
>
> So, I was thinking that maybe it's because the port 80 it's already in use
for the same service, but I'm not sure, it's possible??
>
>
>
> Thank you
>
>
>
>
>
> ana
>
>



-- 
http://www.victortrac.com

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