No external Internet access to my website hosted on WAMP localhost.
Posted by: eiger3970 (---.oxqn1.cha.bigpond.net.au)
Date: July 10, 2012 09:45AM

Hi WampServer forum,
a quick and massive thanks for the great software. I'm almost there ;-)

I'm just having trouble with what I think is the last step of having the Internet access my hobby website www.sk8parks.org.au which I'm hosting on my PC.

Localhost:8080 works.

I have tried:
1. Apache httpd.conf ports 80 are all changed to 8080 as TeamViewer uses port 80.

2. Apache httpd.conf Listen 80 is changed to 8080. I also tried my WANIP:8080 but WAMP goes from green to orange after Restart All Services.

3. Apache httpd.conf
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
changed to
<Directory />
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

Didn't work so I put httpd.conf back to original settings.

4. Apache httpd.conf
<Directory "cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
changed to
<Directory "cgi-bin">
AllowOverride None
AllowOverride All
Order allow,deny
Allow from all
</Directory>

Didn't work so I put httpd.conf back to original settings.

5. Port 8080 is open on my WAN IP.

6. WAMPSERVER - server Online.

7. WAMPSERVER is green.

8. Windows firewall if off.

9. There is no anti-virus software enable.

10. My domain www.sk8parks.org.au is a paid domain which I have pointing to my WAN IP.

I did have the website accessed from the Internet when I had Apache installed, however because I'm a noob with Apache and WAMP, I found WAMP covers more needs and uninstalled my Apache attempt and installed WAMP.

Options: ReplyQuote
Re: No external Internet access to my website hosted on WAMP localhost.
Posted by: svenn (---.access.telenet.be)
Date: July 10, 2012 12:03PM

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:80

maybe change localhost to IP ?

Try if you domain redirects to your port 80 if you switch teamview of for a sec.

Options: ReplyQuote
Re: No external Internet access to my website hosted on WAMP localhost.
Posted by: eiger3970 (---.oxqn1.cha.bigpond.net.au)
Date: July 10, 2012 02:02PM

Hi svenn, thank you for the reply.

The WAMP YouTube setup gave WAMP a server name of localhost, which I have done.
I'm not about my host (my PC) having a registered DNS name?

11. Exited out of TeamViewer, but only the favicon loads.

12. I entered my WANIP:8080 in Chrome and it opened the router.

13. I port forwarded the router 8080 to my PC hosting WAMP and still opened the router.

14. I went to WAMP\Apache\httpd/conf\ServerName and changed from localhost:8080 to my WANIP:8080 and Restart All Services and Chrome won’t load website, only favicon.

15. I went to WAMP\Apache\httpd/conf\ServerName and changed from localhost:8080 to http colon double forward slash my WANIP:8080 and Restart All Services and Chrome won’t load website, only favicon.

If anyone has any ideas please let me know.

Options: ReplyQuote
Re: No external Internet access to my website hosted on WAMP localhost.
Posted by: RiggsFolly (---.as13285.net)
Date: July 10, 2012 02:40PM

Hi Eiger,

I run teamviewer ( when required ) and have wamp running at the same time.


If you want people to see your site using the url www.sk8parks.org.au you MUST get it running on port 80, otherwise we would have to use www.sk8parks.org.au:8080 as the address the way you have it setup currently.


To get simple straight forward access for remote internet users it is best to set your site up using virtual hosts. Have a search in here for 'virtual host' or read the last couple of entries on this post
[forum.wampserver.com]
to see how to setup a virtual host.


From your previous comments it looks like your router does not have the ability to loopback ( i.e. you cannot get to your site from inside your network using the external name) so you will need to create one virtual site to allow access from the internet and another so you can get to it from your machine.

#internet access
<VirtualHost *:80>
DocumentRoot "C:/www/sk8park"
ServerName www.sk8part.org.au
ServerAlias www.sk8part.org.au
</VirtualHost>

# local machine access
<VirtualHost *:80>
DocumentRoot "C:/www/sk8park"
ServerName sk8part.localhost
ServerAlias sk8part.localhost
</VirtualHost>


You will also have to add the following to your httpd.conf
# All our testing source goes in here now
<Directory "C:/www/">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>


I hope this helps

Options: ReplyQuote
Re: No external Internet access to my website hosted on WAMP localhost.
Posted by: eiger3970 (---.oxqn1.cha.bigpond.net.au)
Date: July 10, 2012 04:58PM

Thanks for the reply again.

I've tried the code and modified it many different ways, but no Internet access and now the WAMP icon has gone orange rather than green.

I've tried with the WAN IP rather than www.sk8parks.org.au.
My WAMP doesn't have what I think is called virtual hosts.
As I'm a WAMP noob, I just put my website files directly in the wamp/www folder, rather than wamp/www/sk8parks because I don't know how to get the website to load like that in the localhost, let alone from the Internet.

Anyways, I've read through your link provided aswell, but no luck yet.

Time for a break.

Any tips appreicated...so close, but so far ;-(

Options: ReplyQuote
Re: No external Internet access to my website hosted on WAMP localhost.
Posted by: eiger3970 (---.oxqn1.cha.bigpond.net.au)
Date: July 10, 2012 11:33PM

Well, just had a good sleep and realised the ISP blocks port 80.
I think I forgot this because TeamViewer was working and blocking port 80 for my local host, which I had to change to port 8080.
I will see what I can do to hopefully get this working.

Options: ReplyQuote
Re: No external Internet access to my website hosted on WAMP localhost.
Posted by: eiger3970 (---.oxqn1.cha.bigpond.net.au)
Date: July 11, 2012 01:51AM

Well, I just called my domain name host who claim the default port for domain names pointing to IP addresses is 8080.
I don't really believe them as they tend to say things on the fly to end the calls.
The WAMP hosted website still can't be accessed from the Internet.
I can't use port 80, as the ISP blocks port 80 and TeamViewer on and off takes port 80 on the local host.
Setting the localhost to port 8080 fixes the TeamViewer and ISP port 80 block issue.

If I can just have the domain name pointing to WANIP:8080 then users should still be able to go to www.sk8parks.org.au without having to type www.sk8parks.org.au:8080.

Any ideas as the domain name host has no option to set ports the domain name points to?
Sneaky business as they would obviously prefer to host the website, so offering a service of hosting a domain name but not offering the option to set what port the domain name points to won't work.

Options: ReplyQuote
Re: No external Internet access to my website hosted on WAMP localhost.
Posted by: eiger3970 (---.oxqn1.cha.bigpond.net.au)
Date: July 11, 2012 04:54AM

ok, problem fixed.
My router was on 8080 so there may have been a conflict.
I changed router to 8888 and wamp servername to 8080.
Then port forwarded router from 80 to 8080 and working, with some help from a wamp chat.

If I could be so bold and point to the problem I caused by trying to resolve this issue:
[forum.wampserver.com]

Thanks again for your help ;-)

Options: ReplyQuote


Sorry, only registered users may post in this forum.