Skip to main content
9 events
when toggle format what by license comment
Dec 1, 2017 at 1:52 vote accept Angelica
Nov 29, 2017 at 18:10 history edited DocRoot CC BY-SA 3.0
Changed "sample.com" to "example.com"
Nov 29, 2017 at 16:50 answer added DocRoot timeline score: 0
Nov 27, 2017 at 23:18 comment added closetnoc Within a LAN, local area network, you need to assign an IP address, such as the one @dan suggests, to your network on the web server then configure your webserver (Apache or whatever), to respond to requests from that same IP address. On your client PC, you would need to add the domain name and IP address to the local file and NOT to the local file of the web server. As well, you need to create the site on the web server. It seems to me you are missing quite a few steps in the process. Cheers!!
S Nov 27, 2017 at 13:21 history suggested DocRoot CC BY-SA 3.0
Code formatting, grammar.
Nov 27, 2017 at 12:03 review Suggested edits
S Nov 27, 2017 at 13:21
Nov 27, 2017 at 8:08 comment added dan 127.0.0.1 is your internal IP address, other devices on your local network will not be able to resolve that. You'll need to create an A record in your domain's DNS table and point that to your router's public IP address, then forward port 80 to the private IP (e.g., 192.168.0.2) of your local computer running Apache. You'll also need to disable any firewall rules for port 80 on that computer. Easier than all the above however is just to use the private IP address as the URL in your other devices, but you'll still need to disable the firewall for the computer running Apache.
Nov 27, 2017 at 5:35 review First posts
Nov 27, 2017 at 7:23
Nov 27, 2017 at 5:31 history asked Angelica CC BY-SA 3.0