Как Maresh сказал, что вы должны направить HTTP порт (80) в маршрутизаторе к компьютеру, который, обслуживающей сайт, а также, если вы используете apache отредактирует файл httpd.conf.
Это то, что мое выглядит, я только что позволяет пользователям в локальной сети
DocumentRoot "c:/wamp/www/"
<Directory "c:/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
# Online --> Require all granted
# onlineoffline tag - don't remove
Require local
#Require all granted
</Directory>
Чтобы разрешить глобальную сеть, удалите # из «#Require все предоставлено» и поставить его Infront из ' Требовать локальные ".
Вышеупомянутый код - это только раздел из файла httpd.conf, но это раздел, который вы хотите отредактировать, ищите «Требовать локальный» в редакторе, чтобы найти его.