Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Create Server Alias for LAN (no replies)

$
0
0
Hello!

I have try add a Server Name for LAN in our company, but site from my ip can't show (ping is ok). So, what is my mistakes?

httpd-vhosts.conf

<VirtualHost *:80>
ServerName sitename
ServerAlias 192.168.1.30
DocumentRoot "c:/wamp64/www/projects/sitename"
<Directory "c:/wamp64/www/projects/sitename/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Allow from all
Require all granted
Require local
Require ip 192.168.1
</Directory>
</VirtualHost>

hosts

192.168.1.30 sitename
127.0.0.1 sitename
::1 sitename

httpd.conf

Listen *:80
ServerName 192.168.1.30:80


P.S. If I try open [192.168.1.30] from my computer I see my site, but not from LAN

Viewing all articles
Browse latest Browse all 3177

Trending Articles