3

Iptables: how to redirect port 80 only for a specific domain

view full story
linux-howto

http://serverfault.com – sorry for the title, but im such a newbie in server configurations. I have a problem (of course) and i will try my best to explain it to you: I have a vps, debian based with apache2 and in it I have two domains configured with virtualhost. the first domain is used to be the alias for a webserver (RUBY) and it is working with the port 8080 second one is a website, so it is supposed to be wotking with port 80, with apache2+mysql My problem is that the webserver needs to redirect connections from port 80 to 8080, so my ruby developer (not me, I suck in ruby) made a redirect with iptables -A (HowTos)