Accessing websites on my computer and internet
I have a web server setup on my computer, and wish to be able to access this both from the internet AND my LAN. The problem is that if i type my internet ip address of my router this doesn't work! Now i know i can just type localhost or the ip of my machine! But i'm trying to get phpBB viewable from both the LAN and the internet. But there's a setting in phpBB that doesn't allow this to be the case.... Now is there a way to tell my computer that when the internet side of my router is called just to goto local host at all? A mate suggested using a DNS server on my computer, but i can't figure this out, and i remembered today about the /etc/hosts file. What would i need to add in to this to get it to work?
<global ip> localhost
Thanks in advance!