Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you reach test3.local itself from the machine itself? That should probably be a index page in your XAMPP webroot and probably won’t answer as your WordPress.

    Can you then reach that same page at test3.local from the network itself? Via some other machine on the network?

    What you need to remember is 127.0.0.1 refers to the machine you are on so 127.0.0.1 known as test3.local is the machine you are on unless you have the network resolving test3.local as the network IP address of the machine your XAMPP is installed on… Then test3.local/wordpress/ will work from the network.

    Thread Starter hapzfl

    (@hapzfl)

    test3.local works on my PC perfectly.
    I cannot reach test3.local from any other device on the network.

    …unless you have the network resolving test3.local as the network IP address of the machine your XAMPP is installed on…

    And how do I accomplish that?

    What you need to do is put a hosts file entry on the other PCs that maps your domain name test3.local to the IP address of the hosting PC. This may require you to configure your network so that your PC always uses the same IP.
    Say that your PC is using 192.168.1.23 then in the other PC the hosts file entry would be: 192.168.1.23 test3.local

    Thread Starter hapzfl

    (@hapzfl)

    Unfortunately hat does not work. I get the “Access forbidden” message.

    “You don’t have permission to access the requested directory. There is either no index document or the directory is read protected. Error 403”

    This is an Apache 2.4.41 message

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘XAMPP access from local network by another PC’ is closed to new replies.