Which technology you use ? and how you run offline ? Here offline means you have to use same url while you run from web server.
Example : If you are .net user then url like : http://localhost:(portnumber)pagename.extention same if you want to work offline. stop IIS server then try same url.
