954,176 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

http://localhost & working offline

Hello

I'm new to this forum but not to web development (just IE 6.0 & WinXP)

I am running WinXP, IIS, & IE 6.0.
I am developing my website offline on my PC (C:\Inetpub\wwwroot etc.).
Under Tools > Internet Options > Connections.

My IE Connection is set to 'Always Dial my Default Connection' so I can connect to the Net whenever. However when I click on a link to somewhere in my site (still 'local', not on the Net) an Internet Connection prompt fires up and suggests I connect to the Net or work offline. I click 'Work Offline' but every subsequent link in my offline website prompts me for an Internet Connection.
This line is in my hosts file:
127.0.0.1 localhost
(C:\Windows\System 32\Drivers\etc)
Are there more than one hosts file(s) (e.g lmhosts)??

I can turn off Autodial in IE (Connection Properties) & browse locally fine but how do I then connect to the Net when I need to browse? I get 'Page Cannot Be Displayed'.

Surely there must be a way to browse locally offline (localhost), and then when a Net connection is required click 'Connect' on the dial up prompt ... (?)

Have I missed a setting somewhere ...
Many thanks,
Andy

AndyL
Newbie Poster
1 post since Feb 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: