How to set up www directory to public? WAMP

I cant seem to find any good solution for my issue so I hope this question will be answered once and for all.
First, I understand that by hosting my html files online directly from my PC means to loosen up my PC security and that can be dangerous. But I am fine with this as this is just my testing laptop. Nothing important or whatsoever in here.

So lets start with the main issue. I have port forwarded the port 3306, 80, 8080, and 2727(which I plan to switch the apache port to this)

Tested port online and result is open.

In my apache httpd.conf file, here is what I have setup..


ServerName (which is my private ip)

<Directory "c:/wamp/www/">

Options FollowSymLinks Indexes
Allow from all
Order Allow,Deny

AllowOverride All
Require all granted


I am now able to access my index.html in the wamp www directory by typing in the url (same goes to /phpmyadmin)

What should I do next to make sure my public ip can access the index.html?
Example, when I enter my public ip like this, it just shows connection timed out.

Extra info if this helps :

  1. My WAMP is orange.
  2. I have the MYSQL Community Edition in my PC.
  3. My WAMP version is 2.5
  4. Apache version is 2.4.9
  5. MySQL version is 5.6.17
  6. Apache service test port 80 is not used.

I apologize in advance if my question seems difficult to understand but I will try my best to provide as much information as per request.

Source: wampserver

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.