Hello all, I want redirect a domain to other server(port 80) in my local network, how can I do this with ISPConfig ? May be with iptables nat? I need some help. PS: I use ISPConfig 3 with Ubuntu 9.10 Server (Perfect Server HOWTO). Thanks! Best Regards, Pedro Valmor
You won't be able to do this with iptables as it has no intelligence on the appropriate level. So one way would be to enter in the http options of the ispconfig's web configuration a permanen redirect, e.g. Redirect permanent / http://www.yournewdomain.tld
Hello Ben, Thanks for answer. But I need redirect the a domain to the other ip server in port 80. Ex: when I visit domain.com redirect to 200.xxx.xxx.xxx:80 Hope somebody help me...
Maybe you can do this with some rewrite rules: http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html
Should not be a problem anyway. assume the domain is domain1.com. The redirect adress is 1.2.3.4 (port 80 is standard http so it is not necessary here). So the statement in the domain1 web config would be: redirect permanent / http://1.2.3.4
Don't work for me. Can't connect to my internal ip server. I want just redirect some site to other server with internal ip.
Hello all, To fix this, I put 2 networks ethernet in the internal server with 2 ip's (lan and wan) and used some php scripts to redirect... works fine for me tks to all!!!
But what do the two IPs have to do with the redirect? The script also just sends a http header, but for sure, this is a solution as well