How can I get my iPad 2 to view a website on a laptop over an adhoc network? I have setup a laptop with iis and have a test website running on it.  I have created an adhoc network between my laptop (running Windows 7) and my Ipad 2. On the laptop I can enter a url in firefox and it knows it is a local site, by entering details of this into the hosts file.

When I try to enter the url into the browser on the Ipad 2, I get a message of: Safari cannot open the page because it is not connected to the internet.

Any suggestions on how I can get this to work?

Many thanks.
This isn't an Apple specific question, but the simplest way to do this is to use the IP address of the laptop. There are various ways of determining the IP address of the laptop. You may be able to find it by hovering your mouse over the wifi icon in the taskbar, or if not open a command window and run 'ipconfig'.

Once you have the ip address, you can browse to it from the iPad at the URL:

http://a.b.c.d/

where a.b.c.d is the IP address of the laptop.

You will have to ensure your Windows firewall is allowing access and ensure IIS is listening to this IP address - by default it listens to all IP addresses on the machine, so unless you changed it, you  should be ok.