PDA

View Full Version : OK, so I got a LAMP server...



Fixman
April 11th, 2008, 10:54 PM
But how do I access it from other computers? I can enter with http://localhost, and with http://127.0.0.1, but I can't by putting my public IP. (My IP is 201.235.222.57). Can you try entering (by pasting my IP into the address bar) or giving some advice of how can I publish my site by IP address? (because I'm just too lazy to get a DNS address).

LaRoza
April 11th, 2008, 10:58 PM
But how do I access it from other computers? I can enter with http://localhost, and with http://127.0.0.1, but I can't by putting my public IP. (My IP is 201.235.222.57). Can you try entering (by pasting my IP into the address bar) or giving some advice of how can I publish my site by IP address? (because I'm just too lazy to get a DNS address).

Does your ISP allow you to run a server on your plan?

Fixman
April 11th, 2008, 11:16 PM
Does your ISP allow you to run a server on your plan?

Yes, it does.

But anyway, I have a router connecting to the internet. May that be a problem?

LaRoza
April 11th, 2008, 11:26 PM
Yes, it does.

But anyway, I have a router connecting to the internet. May that be a problem?

You would have to set it to forward the ports.

ruy_lopez
April 11th, 2008, 11:27 PM
Yes, it does.
But anyway, I have a router connecting to the internet. May that be a problem?

The simplest method is to enable port forwarding on your router (point port 80 at the private IP of the LAMP system). Then you need a dynamic dns name. No-ip and dyndns offer free dynamic addresses. Google them.

Just make sure you have everything locked down before going public.

Fixman
April 11th, 2008, 11:43 PM
Dear LaRoza and ruy_lopez, would you marry me?

LaRoza
April 12th, 2008, 12:25 AM
Dear LaRoza and ruy_lopez, would you marry me?

No, I already have a Thinkpad (which I consider to be a sentient entity and deserving of all my earthly love)