This question has already been answered:

Hello! I installed Apache 2 and PHP 5 according to this instruction. http: // localhost / opens ideally, but how to make so that what opens on localhost opens on my IP from any computer, and not just from mine?

Reported as a duplicate by members aleksandr barakin , cheops , user194374, D-side , zRrr Jul 11 ​​'16 at 21:46 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

    2 answers 2

    Hello!
    In the host file - register your IP, open port 80 (firewall so as not to block), configure the apache config file

      In order for your site (which is on your computer) to have access from the Internet, you need to do port forwarding. Unless of course there is such an opportunity.