Okay, assume I am running apache, I type in 192.168.1.99 (me on the network) and it brings me to apache's root directory, runs index.htm How do I let someone at a remote location get to that? say, I wanted to let one of you download a file from that root directory, what url would you have to type in?
login to your router, (assuming you have one) and go to "virtual servers" or "port forwarding" and set up an entry, (if theres not already one, if there is you probably just need to enable it and set an ip address) for http use port 80, and forward it to the machine running apache's ip address. then all you need to do is let whoever you want to see the page know your public ip address. you can find your public ip in the router's settings, or just go to www.ipchicken.com
Yes. Something like that. The router assigns IP's for your private network. These IP's are hidden from the Internet world. 192.168.1.99 is the address on your private network. Anyone with a private network can have this address on a node. What you need is a public address that the Internet world can see. There is only one entry for each public address. You will need an ISP with static addressing. Otherwise, your ISP will occasionally renew the IP and so the IP changes. You may need a domain name for others to easily access your server. NAT (Network Address Translation) is a good way to protect your network. DMZ (De-Militarized Zone) is how you separate the servers you want the outside world to see, and the other network nodes that should be hidden. http://en.wikipedia.org/wiki/IP_address http://en.wikipedia.org/wiki/Network_address_translation http://en.wikipedia.org/wiki/Demilitarized_zone_(computing)
I use a dynamic dns service for apache on my pc. (using windoze) that points to my isp/ip number (dyndns.org is a good one or you could use zoneedit)... then the machine I use for the server is opened in the router with the IP of, say, 192.168.1.145 and specifically named in my pc's tcp/ip settings to be the same ip number always. In the apache config the listen port would be "Listen 80" my server name is ServerName your_external_ip_adress:80 or your dynamic dns name My document root would be something like "D:/usr/htdocs" You should be able to go to http://your_external_ip_address/ and anything you place in that document root folder will be visible to the web
you dont have to have a static address, or really a domain name either, i have been running my sites from my house's dynamic ip for nearly 3 years now, and it has only changed about 3 times on its own, but it usually will change if you plug in a different router to your modem.
You consider using FTP (or SFTP)? If you want to do file serving you may find that a better choice them a program intended to serve webpages. Yes apache will do what you want, but FTP may be more adapt.