After I use localhost the index page is displayed. After I make use of the IP outdoors of my network or inside my network I recieve a not found 404 error. Please suggest possible issues or fixes.

disable iptables or open port 80. To determine if this sounds like the issue type:

service iptables save
service iptables stop