One way is to modify your /etc/hosts file. It has (should have) the line
Code:
127.0.0.1 localhost
which you can change to
Code:
127.0.0.1 localhost www.mysite.com
After saving, if your server is running, type the address and it should go there (works here).
Just remember that because it's configured locally, your friends won't be able to do that. If you want it to be global, buy a domain name for your server.
Edit: to be clear, after that change www.mysite.com ought to point to your www root directory, which is accessed at http://localhost.