Posts: 1,016
Thanks: 7
Thanked 56 Times in 51 Posts
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
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
Posts: 1,016
Thanks: 7
Thanked 56 Times in 51 Posts
Quote:
Originally Posted by pedrovalmor
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...
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:
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:
Recent comments
11 hours 34 min ago
16 hours 39 min ago
21 hours 3 min ago
22 hours 52 min ago
1 day 13 hours ago
1 day 13 hours ago
1 day 18 hours ago
2 days 47 min ago
2 days 1 hour ago
2 days 2 hours ago