Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am designing a test (demo to users) of a web site from my local machine without Internet access. The site will be hosted locally, but I would also like users to be able to follow links to certain external sites. Are there tools that can make the user think they are browsing a site online when they are actually browsing a local copy of the relevant external pages?

The kind of tool I'm imagining would allow you to specify a proxy in the browser that would intercept certain URLs and hand them to the offline copy of a page. There would also be an easy way to save and manage these offline pages.

The offline access requirement is a developing world thing - smart people don't rely on Internet access in places where there is little by way of infrastructure and they only have one chance to get something right.

share|improve this question

closed as off-topic by gnat, GlenH7, Ixrec, Scant Roger, Dan Pichelman Jan 8 at 22:37

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to find or recommend tools, libraries, programming languages, resources (including books, blogs, tutorials, and examples), or projects to undertake are off-topic on Programmers as they attract opinionated answers that won't have lasting value to others. You may be able to get help in The Whiteboard, our chat room." – gnat, GlenH7, Ixrec, Scant Roger, Dan Pichelman
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

Fiddler is exactly what you need here. You can set up "autoresponders" to known external URLs to return local content. With a little more effort you can actually use Fiddler to record a session to a real site and then get it to "Play back" the responses, you do have to be very careful to make all your requests in exactly the same way though.

There's even a short video on his site showing you exactly how to do this - item 2 on this page: http://www.fiddler2.com/Fiddler/help/video/default.asp

share|improve this answer

I think what you're looking for is called Site Grabber and Internet Download Manager is a good choice to start with.

Any site grabber completely downloads a site and has many settings to customize grabbing. You can determine whether images get downloaded or not, or whether grabber follow and download external links or not.

Another option could be to deploy your site on a local web server (IIS, Apache, etc.), then change DNS settings (hosts file in Windows) to be able to browse that site. This way, you can deploy some external links on other sites on your local server, and then you can link to them from there.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.