Design a site like this with
Get started

LAMP Project

1. setting up a web server and develop a simple PHP app, maybe one that connects to another web service somewhere

2.  You should use VMWare to install an Ubuntu Server VM on your computer. You can download it here: Try to get a web server running on your VM. Then see if you can install wordpress on that machine. NAT (Network Address Translation). Then you can learn how accessing something over NAT is different from with a VPN.

3.  Now I have:

a.I installed LAMP during the installation process

b. I can confirm that my apache is running, however I cannot display the apache web page on my host when I do localhost/ on my brower client (chrome). 

c. I can also confirm that I have telnet is installed on my ubuntu server but not running on my server because I have no deamon installed. My research tells me that without the deamon the telnet service is useless.

d.Now, should I install the deamon in other to use the telnet to test my HTTP connection as regards to my apache connection from host to guest?Meanwhile my NAT setup has the Host port and Gues port specified to be of the same port of 80, although I did try using the guest port of 8080 too but all to no avail. But I think my NAT settings, specifically the port forwarding is correct since I did left the host and guest IP Addresses empty.

4. Okay, I was able to:

a. Use telnet to confirm that my Apache connection is positive on my guest.

b. I was able to confirm that the host port I set on my Vbox is listened to by my host. However, there doesnt seem to be any port being listened to nor traffic sent to on my guest. And because of this, I will be using the host terminal to setup my nat port forwarding and that is by utilizing the Vboxmanage commands on my host terminal.- I want to use Vboxmanage to display my Ubuntu server info- also Vboxmanage to display current port forwarding setup or rather nat settings of my Ubuntu. From there I will    be able to find out if I have open ports at all in my Ubuntu server (although I didnt find any when checked from      the guest). If I can find my apache port, then there wont be any need to do the below last step, I will skip the        step and dive into setting up my SSH connection.- After excelling in the two steps above, I will then reset the nat forwarding using vboxmanage commands on my       host

c.Now, I havent setup my SSH yet, I will get there once I exhaust all my other possible ways of finding what is preventing the apache connection from host to guest. In addition, i did confirm that my ubuntu firewall is turned off and my host firewall as well is not blocking any connection (b/c I did turn off my norton firewall on my host but no apache connection still). 

5. If you think your NAT forwarding is set up correctly (and it might be), it’s also possible that your guest has a firewall turned on.I see you’re sending these emails late I night. I hope you’re not working yourself too hard. 

6. a If I want to be able to connect from my Guest (Ubuntu server) to my host (Mac OS), I believe I can setting up NAT with port forwarding from guest to the host just as I did for connecting from host to guest?

b.       Also, after setting up my connection from host (Mac OS) to guest (Ubuntu Server), how do I setup port forwarding from my router to my host to be able to connect outside my home network such as from work etc?

c. I haven’t researched much about putty but I believe putty can have a part to play here since you do make use of it a lot. Can you please direct me on where to start researching from regarding its usage?

7.  a.Item 1 will be a good one to discuss.

b. Item 2 will depend on your router. The first thing you’ll have to do is find out how to connect to your router. See if you can figure out how to do that.

c.For 2b – I would like you to do some research about Putty before asking me about it. I think you know where I’ll direct you to find out more about putty – try that first J. If you have questions about the things you read, we can talk about those