I'm moving a site from one server to another, and want to use "wget
-m" combined w/ "diff -auwr" to help make sure the site looks the same
on both servers.

My problem: "wget -m sitename.com" always downloads the site at its
*current* IP address. Can I tell wget: "download sitename.com, but
pretend the IP address of sitename.com is ip.address.of.new.server
instead of ip.address.of.old.server. In other words, suppress the DNS
lookup for sitename.com and force it to use a given IP address.

I've considered kludges like using "old.sitename.com" vs
"new.sitename.com", editing "/etc/hosts", using a proxy server, etc,
but I'm wondering if there's a clean solution here?

--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

Reply via email to