Virtual Hosting in XAMPP on Fedora Linux

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Virtual Hosting in XAMPP on Fedora Linux

Postby satyaprasadtammana » 08. January 2008 15:47

Hi,

I want to run two applications on same system with same ip address. but with different port numbers.
I am using XAMPP on Fedora Linux.
I want to configure the applications on 80 and 8080 ports.
Can any one help to configure this?

Thanks and Regards,
satya
satyaprasadtammana
 
Posts: 4
Joined: 08. January 2008 15:40
Location: India

Postby Scory » 08. January 2008 17:15

What is the idea of running one webserver on two different ports??

To do so, you have to install two different Apaches on your machine and configure them differently. This does not make much sense to me.
Scory
 

Postby satyaprasadtammana » 09. January 2008 11:32

Cant we do like running different applications on different ports of same Web Server.
satya
satyaprasadtammana
 
Posts: 4
Joined: 08. January 2008 15:40
Location: India

Postby Scory » 09. January 2008 11:45

>Cant we do like running different applications on different ports of same Web Server.

What do you mean by that? Please explain more precisely.

Of course you can run one program per port - each port can be served by a different program (thats precisely the idea of different ports).

For example, port 80 is the standard port for Apache or any other webserver software, port 21 is standard port for FTP programs, port 25 is standard port for sendmail program and so on.

If you want to run the SAME program on TWO different ports (for example Apache), you have to start TWO DIFFERENT instances of the program in order so serve both ports. Apache cannot serve two ports in one instance.
Scory
 

I need how to configure different applications

Postby satyaprasadtammana » 10. January 2008 13:52

Hi,

I want to run differnt applications on different ports of apache.
I am using XAMPP in Fedora.

let me know how to configure that

Thank you.
satya
satyaprasadtammana
 
Posts: 4
Joined: 08. January 2008 15:40
Location: India

Postby Wiedmann » 10. January 2008 16:27

I want to run two applications on same system with same ip address. but with different port numbers.

Use one ip based vhost for each port.
http://httpd.apache.org/docs/2.2/mod/mp ... tml#listen
http://httpd.apache.org/docs/2.2/vhosts/ip-based.html
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests