Since on an iPad we cannot edit the hosts file (without jailbreaking), how can we arbitrarily redirect web traffic to another url?
This would be important for something such as developing a website that uses a Virtual Host configuration where you want to redirect to a development machine.
(This is related to this question: Can I edit an iPad's host file?)
The way to get around this limitation of the iPad is to use a HTTP proxy server, such as Squid running on another machine where you can edit the hosts file.
On the iPad Under Settings -> Network -> Wi-Fi -> (Your network) There is a HTTP Proxy setting which can be set to manual. Enter you proxy information here.
Once this is set up you would be able to manipulate the iPad as if you were changing the hosts file.