Setting up a web server

locutus24

[H]ard|Gawd
Joined
Sep 13, 2004
Messages
1,642
Ok please go ahead and remove this thread if it is in the incorrect forum area, but i have thought about doing a web server and was hoping to get some information. Cause recently i decided it would be nice to have my own http/ftp server for gaining remote access to files and information on my home pc. Since i am not anticipating high traffic i planned to just run it off my second computer, running a linux apache setup with an ftp client going also. Just was hoping to find out how i go about getting it on the internet so as to be avalible to me wherever i am. I do have a fair bit of technical knowledge of linux and stuff, but not so much on the http/ftp web management and security information. So if this is in the correct area of Hardforum then please if someone could share some information on like how i register a domain name, and anything else that is relevantly important. :)
 
What part of "get it on the internet" are you talking about?

Most default linux installs will have Apache installed and port 80 open in the iptables. Installing pro-ftpd is about as hard as running one line "apt-get proftpd".

About the only problem you'd have is your DNS name. If this box doesn't have a static IP, you'll want to register and use some Dynamic IP DNS like dyndns.org.
 
jgoewert said:
What part of "get it on the internet" are you talking about?
Mostly was just thinking about like, if i wanted to get some stuff off my computer and im not near it. Well and also i have possible plans of starting my own small website, thats not for sure right now cause now web site ideas have come to mind. Probably something to do with my photography, hope that clears anything up.
 
Ok.. so, this will be out of your house on some type of line like DSL?
 
Yes, wish i had cable since it has increased bandwidth but for now it will be on a DSL line that i share connection on two different computers
 
For getting things onto it from the outside, the safest is to use SCP. It's also simpler than ftp; you only have to forward port 22 for it to work. If you have ssh, it's probably already set up; just make sure you can log in as a user that can write to the right directories.

I recommend using WinSCP for connecting to it from windows, konqueror and fish://username@server in KDE, and scp from a linux command line.

Personally, I use DynDNS to get a permanent address, I'm on a DSL line with a dynamic IP.
(I use a m0n0wall router that I've set up to update it when I get a new IP; You'll probably want to use one of the linux clients.)
 
locutus24 said:
See the thing with that software is that is what i wanted to avoid, cause i want it to be accessible by just typing an address and going to it. Example http://www.locutus24.com/different/areas/of/the/server thats mostly what i was interested in.

SCP is mainly useful as a (secure) replacement for ftp for uploading things. You'd stil use it as a normal webserver (http) for viewing them. :)
 
Back
Top