LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Personal Web Server (https://www.linuxquestions.org/questions/linux-server-73/personal-web-server-711655/)

ajk265 03-14-2009 08:41 PM

Personal Web Server
 
I just installed Ubuntu Server edition on a spare computer of mine for development. Apache2, PHP5, ssh, ftp and Mysql are now working. I can access the server contents from other computers in my personal network using the 192.168.1.* address.

This is great when I am working on projects from home, but I want to be able to have SSH, FTP, and web server access from remote locations outside of this router. I am behind a Linksys wireless router. I Googled for a tutorial to this effect, but must be using the wrong search terms. Any help or direction would be greatly appreciated. Thanks!

shane25119 03-14-2009 09:18 PM

Check with you ISP to see which ports they block. You can usually do this via their website's FAQ. Should they block the relevant ports.... 21 for FTP, 80 for HTTP etc.... it's just a matter of setting up port forwarding via your router's configuration page.

Assuming you have a dynamic IP address you will want a host to point toward your ever changing IP... I recommend no-ip.com. Then you can simply type in shane@whatever.something.com and end up in your FTP directory. Please note... the speeds will be slowish.

I'm sorry if I am scant on details... but it has been years since I have done any of that. I am hopeful someone else will come along who can fill in these gaps.... I'll check back here on this thread, and I'll dig around and research it for ya if no one else knows it off hand.

fred49 03-14-2009 09:34 PM

It should just be a matter of going into your router with a web browser and opening the appropriate ports. my Dlink router has an advanced tab,where you put in the private ip address of your server, and the public and private ports, what ever comes in on the public port is sent to the private port at the ip address you specify. your Linksys should have a similar setup

fred


All times are GMT -5. The time now is 05:50 PM.