We assume that you have installed Apache server on your machine, otherwise you may follow XAMPP installation tutorial here.
If you already have Apache server up and running on your local machine, the next steps should be easy cake for you:
a) You will need a static IP from your ISP (dynamic IP will work too but with a couple of tweaks);
b) Find your internet IP using the free tool from the main page of webuka.com;
c) Find your computer IP if you have a router as gateway (most likely you have one). Start – cmd – ipconfig. You know the drill. This will reveal the gateway IP too.
d) Access your gateway using the IP shown in step c) (192.168.0.1 or 192.168.1.1 in most cases).
e) Go to “port forwarding” section. Set the port 80 both TCP and UDP for your computer IP. Save the changes.
f) Inside your gateway administration panel, enable “remote administration” or “remote management” to allow your IP to be visible outside your own network.
g) Go to your favorite web browser and type your ISP assigned IP from step b) (example: 126.96.36.199 or 188.8.131.52:80). The browser will open the local XAMPP info and configuration webpage.
h) Reveal your local websites to the internet using net_IP/website_folder (example: 184.108.40.206/site1 or 220.127.116.11:80/site1 where site1 is replaced with the name of your website folder). Apache is automatically configured to reveal the path to xampp/htdocs folder without specifically pointing to it.
In part 2 we’ll show you how to assign DNS to websites and replace IP (example: 18.104.22.168/site1) with URL (example: www.site1.com).