GregHBushnell GregHBushnell - 1 month ago 12x
Apache Configuration Question

wamp server put online for anyone to access

Hi ive been attempting to set up a wamp server so people can access it for testing
everything works correctly on my pc and i believe i have everything set up correctly but noone can connect to the site as it cant be reached

i have opened port 80 on my router and my firewall

my hosts file is as follows localhost
::1 localhost btcGame.local
::1 btcGame.local

my httpd-vhosts.conf is as follows

# Virtual Hosts
<VirtualHost *:80>
DocumentRoot "g:/wamp/www"
ServerName localhost
ServerAlias localhost
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
<Directory "G:/wamp/www">
AllowOverride All
Options Indexes FollowSymLinks
Require local

<VirtualHost *:80>
ServerName btcGame.local
ServerAlias www.btcGame.local
DocumentRoot "c:/wamp64/www/btcgame"
ErrorLog "logs/btcGame-error.log"
CustomLog "logs/btcGame-access.log" common
<Directory "/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted

is there any other things i need to change in order to get my website online?


Other people trying to access your computer should know where to look.

Your server should then be referenced in the hosts file of their machine, except that IP should be resolvable such as

your.local.ip         btcGame.local