offline website

how to make localhost work as ***.com/org/net/… when offline?
It’s a serendipity for me. I just modified the /etc/hosts to make the original line: 127.0.0.1 localhost.localdomain localhost
like this: 127.0.0.1 ***.com/org/net/… localhost
Then it works when offline, especially for blogware wordpress. Since wordpress use mysql, which stores every uploaded file and item with the web address, it will automatically search for ***.org/wordpress/*** when you click on it. Now I can work on my blog even when I’m offline.

Actually when installing Fedora with specified host, /etc/hosts file would have already been like this. As I know, it was modified after install ndiswrapper for wireless driver.