Local Area Network (LAN) Access
If you are on the same network you can use the server name . To find the computer name in Windows open Prompt Command and enter hostname
:
InmycaseitisDEV004W
,sojustaccessusingthishostnameoverthenetwork:
http://dev004w/
Onenoteisthatyourapplicationcannotreferenceresourcesaslocalhost
,eg
<linkrel="stylesheet" href="http://localhost/estilo.css">
This will cause an error because you are looking for the estilo.css
file on the machine you are accessing, then refer to the IP or hostname
Internet access (WAN)
If you are not on the same network of the server (machine running XAMPP / Wampp / IIS / Apache) you can use NO-IP . It is a service that provides a free DNS for dynamic IPs.