How to run two virtual hosts on the same server in apache

view full story

http://serverfault.com – I've followed instructions on running two web apps in apache and my current confs are like this: apache2.conf: http://paste.ubuntu.com/1547286/ httpd.conf: http://paste.ubuntu.com/1547288/ ports.conf: http://paste.ubuntu.com/1547290/ I have a php web app on port 80 and a rails app on port 88. The php app works fine but the rails app won't load if i try to go to virtualdiscoverycenter.net:88. If I switch it and make the rails app 80 and the php app 88, the rails app works but php won't load. It's obviously not a rails or php problem. I added port 80 and 88 to the iptables but it still w (HowTos)