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

"Invalid local IP" message on virtual host? (2 replies)

$
0
0
Apache 2.4.23 - PHP 5.6.25 - MySQL 5.7.14
PHP 5.6.25 for CLI (Command-Line Interface)


Trying to set up a very basic web server. Its just a blank white webpage with links to videos located on my web server.

Machine that is running WAMP: 10.12.1.131. Windows 10 x64.

Apache status icon is green "All services running"

I want my web page to be public but I dont want to just hand out my IP address, so I'm using a dynamic dns provided from no-ip.org.

When I click on the WAMP icon and then hover over the "Your virtual hosts" option, it opens the menu and shows a single virtual host I have made.

When I click on the virtual host, a cmd window pops up giving this error message.




Sorry,

There is an error.
In the httpd-vhosts.conf file:

The IP used for the VirtualHost is not valid local IP


Switch cancelled

Press ENTER to continue...





Here are the contents of my vhost files.



# Virtual Hosts
#

<VirtualHost 10.12.1.131:1337>
DocumentRoot "C:\wamp64\www\test"
ServerName homemediatest
ServerAlias www.homemediatest.ddns.org
ErrorLog "logs/mysite-error.log"
CustomLog "logs/mysite-access.log" common
<Directory "C:\wamp64\www\homemediatest">
AllowOverride All
Options Indexes FollowSymLinks
Require all granted
</Directory>
</VirtualHost>






How is that invalid? My ISP blocks port 80 so I'm using 1337. Like I said, the machine running WAMP is 10.12.1.131.



Hosts file is nothong but




127.0.0.1 homemediatest.ddns.net
::1 homemediatest.ddns.net

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>