First step is assigning a globally known address to your home network. Remote access via Dynamic DNS makes this possible. There are many websites provide such service. I have used because my internet modem/router supports this website! You have to register in noip website and then you have to add a Host (DNS Host (A)).

Next thing is configuring your modem/router for updating the website with your Dynamic Valid IP address. For doing this you have to find DDNS (Dynamic DNS) under Network settings and enter your noip account details.

For security reason you still cannot access you computers via internet. For doing this you have to use DMZ service. First assign a static IP address for the computer that you want to use it as the  server (e.g. Then add this IP address as DMZ device.

Now you have a connected server. You can now install LAMP or WAMP.