Log in

View Full Version : host files locally



Jo-Jo
16th August, 2012, 12:32 AM
Hi there,

I currently have a linux server running and a dns address but just wondering if i can host a file on my server for somone to download from me i.e place a text file say in the root on my server and said person elsewhere goes to

mydnsaddress.com/filename

and be able to directly download that file from me ?

i ask as i have some webspace and a domain name which i oay for to host soem downloadable files but it costs be per month and would like to avoid costs and host the files locally

Spacerat
17th August, 2012, 02:06 PM
It should be possible if your server allows FTP access or some form of web server interface to present the file to the client. You will also have to enable the appropriate port forwarding on your router, and ensure that "mydnsaddress.com" is pointing to the public IP address of your router.

If you do not have a static IP address, it may be useful to use Dynamic DNS to ensure that any time your IP address changes the DNS entry for "mydnsaddress.com" updates. Have a look at FreeDNS - Free DNS - Dynamic DNS - Static DNS subdomain and domain hosting (http://freedns.afraid.org/) for more details.

Elric
17th August, 2012, 02:10 PM
i use this for hosting small files and its free

https://www.dropbox.com/

Jo-Jo
19th August, 2012, 02:01 PM
i have a dns address and my server allows ftp access just nlot sure how to do it i have tried sticking the file in the root directory but does not seem to work