access my local website from outside

Problems with the Windows version of XAMPP, questions, comments, and anything related.

access my local website from outside

Postby asad2016 » 02. December 2015 22:48

Hi

Can anybody help down here please, I want to access my local website from outside the local service that is provided by xampp server.

I have created a website that currently is available on my sql/phypmyadmin in xampp server version 3.2.2. I but i would like to find out a way to be able to access the website from other machine outside local network. I am using this as a testing methods to check some security issues. But i am not able to find a good sources of information on how to access the local website from the internet by having step by step guidance from A-Z access. IT should be away that i could acces like normal address in the url (DNS OR IP Address)

many thanks
asad2016
 
Posts: 1
Joined: 02. December 2015 22:34
Operating System: Windows Vista Enterprise 64bit

Re: access my local website from outside

Postby Altrea » 02. December 2015 23:20

Hi,

asad2016 wrote:But i am not able to find a good sources of information on how to access the local website from the internet

Because this is not an XAMPP issue but an issue of your specific Internet Service Provider / Router. XAMPPs Apache can by default serve external requests.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: access my local website from outside

Postby Nobbie » 03. December 2015 12:26

asad2016 wrote:IT should be away that i could acces like normal address in the url (DNS OR IP Address)


You first have to find out, which IP address is assigned to your Router (or PC) from your Provider. If youre PC is connected to the internet directly (without any Router), you simply have to enter that IP in a foreign browser in order to connect to your Apache (Xampp).

If you are connected via a Router, this IP is assigned to your Router instead of your PC. But your PC is part of the LAN, which is created by the Router. In that case you have to establish a so called "Portforwarding" in your Router (most Router support Portforwarding - if your Router does NOT support Portforwarding, you cannot continue and you cannot put your Xampp online), you must configure your Router that all Requests coming on Port 80 are forwarded to the internal LAN IP of your Xampp PC. If you want to use HTTPS protocoll as well, you have to add one more Portforwarding for port 443, again to your internal LAN IP of the Xampp PC.

Finally, again simply enter the external IP (which is given by your Provider) into a foreign browser.

Many providers (in germany ALL providers) do not provide static IPs, that means, your public IP changes every night. Therefore you have to enter another IP everyday on the external browser. As this is quite annoying, you should go for a so called "dynamic dns provider", that gives you the opportunity to have a unique domain which is connected to your dynamically changing IP. One of the very last really free providers is http://www.noip.com

You should register and get your own domain name there. Many Routers support these free providers, after you registered on noip.com, you should look into to your Router, if it offers access to any Dynamic Services like noip.com. If it does, you must enter your Username and password from noip.com into your Router, then the Router automatically refreshes your noip.com account, each time your public IP changes. If your Router does not support noip.com, you unfortunately have to refresh your IP by yourself directly on http://www.noip.com every day. You may then use this domain name instead of your public IP in order to access your Xampp PC.

Finally, there are tons of tutorials and videos out there in the WWW about this question, simply enter "access Xampp from internet" into Google.
Nobbie
 
Posts: 8761
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 41 guests