Step 1: Download and Run The Software
Head to www.rejetto.com/hfs/?d=dl and download the HFS or Http file server.It is free and open source and above all that its a standalone executable that requires no installation.
On XP with SP2, when you run HFS you will be asked about whether or not allow hfs.exe to connect to Internet.Unblock it and if you have 3rd party firewall you will have to configure it accordingly.
Step 2: Configure the port
By default HFS uses port 80.if you your firewall is blocking port 80, set HFS to some other port( for example to 8025 or which ever is free, as a precaution keep it above 1024)
To change the port number, turn HFS off change port no and turn it on again.
Also, if you are behind a router or firewall, you may in some rare cases, need to set up port forwarding.The best way to go about this is to go to www.portforward.com.
There you can choose the router type and choose a program you want to set up port forwarding for, which is in our case is HFS.In such case a scenario, you cannot proceed unless you know which router you are using.
Step 3: Test HFS
To test whether your settings work, click the menu in HFS and choose self test.If the test completes successfully, your settings are correct and you are ready to point your web browser to your ip address and see HFS default Web Page
Step 4: Register A domain
For setting up a web site, you need to first assign it a domain name.For this, you need to a DNS service running on your computer.There are some sites which offer this but this one is good. Go to www.no-ip.com/newUser.php to create a No-IP account.
Login to the site with the account you created.On the left-sidebar click on “Hosts/Redirects” and then Click on Add.
In the page that opens enter domain name of your choice e.g techpies and It will create a sub-domain on its own server that will work on your ip.It records it when you add the domain name.
If you ISP is blocking port 80, you can choose a redirect given under same page.
Click on “Create host” and you are ready to roll.Access the same from your own browser.You can add your file In HFS and access the same.Trust me I have done it and it works.But i cant give the link here keeping in mind the security issues which I am not aware of.
Step 5. Install The dynamic update Client
Skip this step if yo have a static ip.If you dont, you will need a client software to take care of of your changing ip address.Go to www.noip.com/downloads.php?page=win to download the No-Ip.com Dynamic DNS update client software.Install it and provide your login details.This program will sit in the system tray and automatically update your NoIp account when your external ip changes.
Step 6: Launch Your Website
You can now decide what page will appear when someone access your site, like the default page.To change the default page, Open HFS and click on “You are in Easy Mode ” to turn it to advance mode.Right click on little house icon on VFS and click on “Bind Root to Real Folder”.When prompted point to folder that contains the file you wish to display by default