Why do my internet browsers stop working?
The first step in narrowing this down is to look at the crash log and the event log in Console.app (under /Applications/Utilities) to look for relevant error messages. 

Usually it is a dns related error, but if that doesn't work, then run the network diagnostics to make sure it isn't just a web browser issue.