Расшарить сайт на XAMPP
Делаем корпоративный сайт. Установил на локальный компьютер XAMPP, сделал сайт, который видно на localhost, т.е. по адресу 127.0.0.1 и все. Как сделать его доступным в локальной сети и через интернет?
| Входящие | Горячие | Популярные | Без ответа |
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:/Program Files/xampp/xampp/htdocs"
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Order Allow,Deny
Allow from all
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the # directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 192.168.0.13:80
Ничего не изменилось.
fir1st,
10 февраля в 07:13
Только зарегистрированные пользователи могут оставлять комментарии. Войдите, пожалуйста.
127.0.0.1 — есть коннект.
192.168.0.13 (в локалке) — нету.
А интернет идет через роутер 192.168.0.1.
Такие дела. fir1st,
127.0.0.1 localhost
192.168.0.13 localhost fir1st,