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

Cannot Access VirtualHost created in WAMP (2 replies)

$
0
0
Virtual Host definition
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>


#
<VirtualHost *:80> (My Virtual Host)
ServerName something.inc
ServerAlias www. something.inc
DocumentRoot "c:/wamp64/www/home"
<Directory "c:/wamp64/www/home/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>


I can access something.inc from my localmachine (localhost) on my server computer but can't access it from my mobile through i can access wamp server homepage from my mobile through my ip address.I cannot access it through the servername (something.inc) but if I access it through 192.168.*.*/Home (I have kept the project files under wamp64/www/Home directory, it displays the customised 404 | NOT FOUND page. How to resolve this issue and access my sites through it's server name over LAN?.Also I cannot use othe listen ports other than 80 even if I have defined them as Apache listen ports.I use WAMP v 3.2.3.

Any Help will be greatly help me

Viewing all articles
Browse latest Browse all 3177

Trending Articles



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