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

Modify Virtual hosts to be accessed by anyone? (no replies)

$
0
0
Hello all, glad to be on this forum,

I've been using WAMP to develop my site for quite some time now, but would like to experiment with making this site accessible by anyone. I'm very new to this, but I'll try my best not to be brutal to deal with :)

How would I go about doing this. I currently have my vhosts-conf file(see below) set up with my domain, and when editing the site I view it by visiting my link(lesboizs.club), however, I can only see it on my local machine, nothing else. How would I go about making it view-able from say, my phone? I have tried changing 'require local' to 'require all granted', but still nothing after a DNS service restart.

Thanks, Alex.



# Virtual Hosts
#
#"Listen 80' is commented because Apache wouldn't start if it wasn't commented. Kept logging errors.
#Listen 80
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

#
<VirtualHost *:80>
ServerName lesboizs.club
ServerAlias www.lesboizs.club
DocumentRoot "c:/wamp64/www/les-boizs"
<Directory "c:/wamp64/www/les-boizs/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

Viewing all articles
Browse latest Browse all 3177

Trending Articles



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