Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 11025

Redirect one domain to another domain?

$
0
0
I'm looking to have foobar3000.com routed to helloworld3000.com for a single computer on my LAN (192.168.1.254).

So far the only thing I've come up with is using iptables: iptables -t nat -A PREROUTING -s 192.168.1.254 -d foobar3000.com -j DNAT --to-destination 109.169.56.223

Is there anything a bit more elegant that would allow me to do this using Domain names instead of IP's? Because if a IP changes then my rule is useless.

Viewing all articles
Browse latest Browse all 11025

Trending Articles