I'm in the process of shutting down an old FreeBSD 6.1 server, but I need to port foward 80 & 443 to its replacement while I wait for those naughty ISPs that cache DNS records longer than my TTL to get their act together.
How do I do it?
|
I'm in the process of shutting down an old FreeBSD 6.1 server, but I need to port foward 80 & 443 to its replacement while I wait for those naughty ISPs that cache DNS records longer than my TTL to get their act together. How do I do it?
| |||
|
feedback
|
|
L7 solution:
L4 solution:
Do not forget to replace Then do
| ||||
|
feedback
|
|
With apache, you can do something like that.
Using a subdomain will force the a new DNS request. Later you can force the redirection from new to www. But maybe there is the same domain name and you are just waiting for the DNS to be updated. Then HTTP redirection will not work and some iptable forwarding can be usefull.
Or you can also put a blank page :
Good luck | |||
|
feedback
|
|
Setup a proxy, or create simple HTTP "Location:" redirection. The more simple - the better: its temporary, don't waste time :) | |||||||
feedback
|
|
Have a look at NetCat, it can listen on a port, redirect to another port on another server http://www.debian-administration.org/articles/58 is an example of how to do it. | |||
|
feedback
|