I would like to be able to run WP from my computer using WAMP (Win7) as usually do not have internet at home. I have WAMP/WP installed and it all works, except for those urls (for images or links) that use the domain name of the website. Is there someway that while I am offline I can set my computer to direct requests for that domain name to localhost? I tried adding this to the hosts file :
and also this :
but url requests, for example, http://www.mydomainname.com/wordpress/wp-content/image.png are still trying to reach the internet site and not my localhost.