WordPress with Lan and Wan Access?

For LAN access add the following to the /etc/hosts file:

192.168.0.10 (ip of WordPress server) domain.com

or

localhost domain.com

if the server is on the same machine