How to Host A Web Server on Your Home PC or Windows 10 Computer

If you want to make a small site of your own and don’t desire to pay for hosting prices, this article will precisely tell you how to do it. I had always wondered if I can host my blog or a small site on my laptop computer but looking at traffic and security I can’t. However, if you want to make a website, for friends and family, this can be the right solution for you. It’s free software, so you don’t have to pay any money for this. In this post, I will share how you can host a web server and also deploy a mini website on your home PC or Windows 10 Computer.

How to Host A Web Server on Your Home PC or Windows 10 Computer

  1. Download and run the Software
  2. Configure the port
  3. Test HFS
  4. Register A domain
  5. Install The dynamic update Client
  6. Launch Your Website

1] Download and Run The Software

Download the HFS or Http file server. It is a free and open-source web server and above all that it’s a standalone executable that requires no installation.

  • When you run HFS, you might be asked whether or not allow hfs.exe to connect to the Internet. Unblock it.
  • But if you have 3rd party firewall, you will have to configure it accordingly.

Features of HFS

Since you are hosting a web server, here are a few things you should know about HFS.

  • Download and upload
  • Virtual file system
  • Highly customizable
  • HTML template
  • Bandwidth control
  • Easy/Expert mode
  • Log
  • Full control over connections
  • Accounts
  • Dynamic DNS update

2] Configure the port

By default, HFS uses port 80. If your firewall is blocking port 80, set HFS to some other port (for example, 8025) or whichever is free. As a precaution choose any port above 1024. The operating system itself uses ports under this.

HFS Port Number to accept connection

  • To change the port number, click on Port Number menu and enter a new one.
  • Also, if you are behind a router or firewall, you may in some rare cases, need to set up port forwarding.
  • For all the help required for port forward, check the link.
  • Port-forward can help you out to set up port forwarding. 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.

3] Test HFS

HFS Self Test

Now you need to test your settings before you start. Click the menu in HFS and choose the self-test. If the test completes successfully, your settings are correct, and you are ready for the next step, To point your web browser to your ip address.

4] Register A domain

For setting up a web site, you need first to assign it a domain name. A domain name is another name for a computer ip address. For this, you will need to a DNS service running on your computer, which can be, mapped to a particular ip address.

  • Create a new user at No-IP account.
  • Login to the site with the account you created. On the left sidebar click on “Hosts/Redirects.”
  • Click on Add. In the page that opens enter a domain name of your choice, e.g., “my family pics” and It will create a sub-domain on its server that will work on your ip.

Host web server computer

  • Your IP is recorded when you add the domain name. If your ISP is blocking port 80, you can choose a redirect given under the same page.
  • Click on “Create host,” and you are ready to roll.
  • Access the same from your browser. You can add your file In HFS and access the same.

Trust me, I have done it, and it works. But I can’t give the link of my url (as it is hosted on my computer) here keeping in mind the security issues of which I am not aware. So you also should share it only among your friends.

5] Install The dynamic update Client

Skip this step if you have a static ip, but if you don’t, you will need client software to take care of your changing ip address.

6] Launch Your Website

You can now decide what page will appear when someone accesses 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.”
  • Now you can add files and folder here which you want to make available on your website.
  • When your site is ready, send the address which you created in NO-IP or step 4 to all your friends.
  • You can even see what others are viewing in the advanced mode of HFS.

Add HFS Bind Folder

This helped me a lot to understand how things work, for example, when my blog is hosted and how does my hosting service work. It was a small example on a low scale basis for you to try and for people who want to run there host on their system. Do tell me your experience when you try it. I will be glad if you are also able to Host web server or website on your computer for your small projects.

Update: Also check out Opera Unite, advanced option to create a web server on home pc.


  1. Very nice guide, I’m puzzled though. Apache is by far the most widely used industrial standard free open-source server. I never heard of HFS and from the description its more of a file server rather than a web server. To add more expand the article maybe also go into bandwidth/ISP requirements etc.

  2. @Blogcrowds: Hi thanks a lot for this comment.I will be updating my article today evening and will email you on that.

    Keep coming

  3. If you are looking to run a local Web-Server, under Windows, use the WAMP Stack…
    Web-Developer Server Suite.

  4. @Everybody: Great Response people.Thanks a lot.

    However I would update on this, that this might not be suitable for very high traffic.You can use it for light purpose.

  5. Nice article A.M
    But I wouldn’t personally recommend such implementation though, especially on a laptop; neither a PC. Putting all security, high traffic thingie aside, I too wouldn’t want my PC to get on fire 🙂

  6. @hongkiat: I agree with you on this,It can be sued for personal use with friends.It might not handle the traffic and security issue.Thanks a lot for the comment.Keep visit

  7. Hi ashish

    Gr8 article…really informative for as i have tried like this before but didnt knw abt the hfs thing only tried to do no-ip dynamic tool.
    nyways thanks

  8. @Abhishek: Thanks Abhshek.This one can be good for people who want to host site to be sued just between friends.It can give them a chance to create too

  9. hi

    I did exactly how it is mentioned…..But still its no working..When I type my ip address with the port number it times out…May be i am doing something wrong. Can anybody help me troubleshooting..Thanks…

  10. @Masoom: If you don’t have static IP you need to use the second link I have given in the post. That might solve your problem

  11. @Rony: With dew respect I dont think I need to give any justification but Well I got this from one of my friend who made a family hosting site on his computer. And he helped me out to make this article too. Hope that helps.

  12. @Ali: I would not recommend it for proffesional web hosting. If You do it for fun and family its good. Else you PC might be hacked.

  13. hi
    i did exatly as u hav mentioned in d steps .
    nw how can i make a database for this home based server.
    i am working on a project in my collage . its internet based home automation . i wanna know wil my website be browseable from mobile through gprs.
    waiting for your reply….

  14. Hi Tejas,

    1. Since you are hosting it on home computer, you can connect this to any local database which is running in the local machine. The above steps just redirects your created domain ot your computer ip.

    2. Search in google for “make mobile web page”. There are lot of links availble. You can use and see. If that doesnt work, I would suggest you to look around some books or online contents to look and search for

    Hope this helps

  15. I am try to have my own website . Its online streaming one. Lot of videos sharing. As having a dedicated server costs more. I am thinking of making my dell pc to web server. Can you guys suggest me . I live in Tokyo.

  16. Hi Suresh,

    You have a good idea and I accept that histing is costly too. But are you making a website for commercial purpose or Freinds and family. This article is best if you want to do some online projects or make a family site. However for commercial purpose its not as your computer will not be secured. Do tell us your need


  17. Hi, as Suresh, I step in to this article looking for an option for a streaming video section for my site. What do you recomend for a connection DSL / Cable 256 or 512. How many user can be log at the same time, just an estimate. To have an idea. Don’t worry about security issues since the PC will be only for this purpose. No personal info inside.

    Please let me know your recomendations

  18. @Orlando: If we can really keep the security aside I would really like to hear number of users. We did small project and were around 30 users it handled easily but it was a light weight application.

    There is one more person who is doing a project using this concept. I am waiting for his experience too.

    Lets see what Suresh comes up with ?

    Thanks Orlando

  19. This is a really awesome (looking) program!

    But, out of curiosity, would the Ubuntu Server work just as well? I am horrid with computer terms, so sorry if the answer blatantly obvious.

  20. One last question, does this mean I can have my own free .com? Or is it just so I don’t have to pay others for hosting memory?

  21. Thansk, very useful information..I have already registered my domain and I have One websited hosted and now it is in use.but my hosting company doesnot give me more space so I want to make my laptop as a webser verver. I want to just redirect my web site to my laptop. lets say somebody is liking my website then he/she clicks on myphoto links I wil redirect my page to my laptop with php(redirect) if i give me ip address of my laptop can my friend see my photos from my laptop..if no is there any way to do that…

  22. @Rabin: By just IP address it wont work. You need to host it. So if you are using the tutorial above the site you crated on no IP will point to the site on your computer. Thus if you host your pics on the site in your laptop your friend will see it automatically, no need to give IP.

  23. I mean I downloaded the HFS and I can host my photos on that. I have domain and it I have already host my page on hosting company so i want to use this host server but I want to just link my computer from that webserver. I dont know more about no ip so if i registered to no ip then can i redirect to my laptop..i dont want to redirect all my webpage to my laptop I just want to redirect some link to my laptop (like photos)…so I want to do new things..thank you very much..for your help..

  24. I went through all the information and finally I did it. when we bind the do nothing. I have to add all the files and folder one by one. Is this the way program runs or it is different. I thought when we add root folder then it should show all the files and folder under that root but it does not. Thank you for your help!

  25. Would like to say that Abyss Web Server X1 is the best free web server made. Can be down loaded here:

    I use 2.5 it is awesome. Most steps above work the same with abyss. Thanks

  26. Thanks for the amazing info, I can’t port forward thu on my linksys right now, I tried, i still fail the self test, but hsf is cool, it just like my FTP one, its a single .exe and you just click on it and thats it, you just type the ip on anything that has web acces in the world adn you have my whole hard drive. I love it, Hopefully i get this to work, but if its not a heavy duty one, then i have to host on a real server for all the trafiic, money money money!

  27. hi thanks for this article…….

    i want to know that how much minimum RAM required for this i have 256mb and pentium 4 cpu is it sufficient for making server????

    and bytheway r u hosting this web “” from your home server?and how can i got this domain “.net” ….???

  28. @Manit: That should be sufficient enough. However I am not hosting my site on personal server but on a pro hosting service. If you want to get a domain name. I can suggest you some ways. Shoot me an email to me via contact form

  29. i don’t have static IP and i m using router at “” they only ask for static ip check this link. and i dont want to buy static isp is bsnl data any other method to do this????? plz help…….


  30. @Manit: If you are using BSNL iy wont require port forwarding. I also use bsnl data one and never used port forwarding ever 🙂 Skip that step

  31. Hey Thanks. After port forwarding my server works successfully and self test completed and server is started and running.

  32. greeting to everyone ,

    I tried the program and it works fine , but when i enter my site , it doesnt enter the index.html page , it shows all the files in that folder.Now visitors will have to search the index.html to see the site i designed.

    Is there a way to tell hfs to open the “main page” = index.html automatically

    thanks .

  33. Nice article. I just want to know is there a way in Linux to implement the same.
    basically, I want to control my home appliances with Linux.

    Which technologies i need to use to make two way communication between server and clinet, inmycase
    my embedded device need to take in put data from web browser( client).


  34. This was interesting.

    I’ve saved your page to my favorites and would like to find out more about how I can build my own website.

    Thank you for sharing.


  35. Very usefull info. Appreciated your efforts and time.
    I am planing to host a small website for commercial purpose, but not online payments by credit cards etc., It is just hosting for information sharing. I have Airtel DSL broadband connection. I am also planing to have my own domain like I am planing to register my domain using, but I would like to use my own PC for hosting. Please suggest/assist me to host my website on my PC. Also let me know how to get static IP for my PC?

    Thanks in advance

  36. Thanks for these useful info
    But I cant come out from 2nd steep i e port test help me what to do i am using MTNL D LINK 502 T
    —MTNL Mumbai
    —Window Vista

    Waiting for your reply else give me your contact no if posible so that i contact u to help me out from these steep

    Once again Thanks

  37. Ashish:

    Thanks for an easy to understand article .

    I’ve a doubt and I’m seeking your opinion .

    Its related to a personal blog based on WordPress.

    I’ve my blog in a domain registered with It costs me
    $6.99 per year for the annual domain regitration fee.
    If I use as my host it will cost an additional
    $48.00 per year, which I’m trying to avoid!

    I was wondering, ” if I go to the admin page of my domain
    @ & edit the advanced DNS to redirect or point
    it to my personal PC by using my IP’s static IP”, Will it work..?

    thanks in advance.

  38. That might work but I though have some doubts. Your IP should be globally acessble. You saying that its static so possibly yes. Go ahead and try it. I tried pinging the IP address which is noticed when you make comment here. It pings. Sp just give it a try and see if it works

  39. Yo! great!! but, could anyone tell me- is it possible to create a real server on home pc for big traffic and other stuff? I can’t find any good info about it… 😀 I wana make my home pc to real server pc to put there large amount of my own web pages.. 🙂 what special programs do i need and mabey i need any other special computer parts to make it… 🙂

  40. Hi Amazing Angel, This is on behalf of Ajay I am putting his comment here. He mailed me on this

    HI ashish;


    PS: Ajay you might get this as a new comment.

  41. Hi i followed all the steps in this article but when i type ip address in the browser its asking for username and password,which username i should use for this authorization …….

  42. Your article is very excellent.
    When i did Self Test it gave me message saying “Your Internet connection does not work!” error HFS 2.2d(152). May I Know what i should do to avoid it. I am able to browse other site i.e I do not have any problem with my internet connection

  43. Hay guys . .. this is wat exactly i was looking for ..
    I am doing my final year project exactly something like this
    ‘Hosting websites from yur pc ‘
    This idea actually struck me after seeing the software Purple Nova

    But that is not open source (although its free) … so couldn’t get the actual help in terms of getting the exact working ….

    I would be glad if some one would give me guidance abt how it exaclty works (concept wise) and would also appreciate any interesting and informative links on this … Thanxx

  44. Ansar , We have written a very details desctiption on how you can host a website from your home pc. The only tricky part is Ip mapping which is taken care by the software. Its like dynamic mapping.

  45. I tried doing port forwarding but still giving me error that ” you are behind router. please ensure your port forwarded . smthing like that..

    what should i do ?

  46. I have done all this. Thanks, it worked…mostly. when I enter my domain into the URL box, I still recieve the router welcome page.

  47. my ip address starts with 10.13.1… given by the service provider and on web with i got it as can i use my system to build a server as u mentioned above

  48. My only question is what is the maximum traffic, it can afford – 1000 per day or more…….and Ashish, if I follow steps until static ip generation steps, and for rest of the work, would like to do with ISS, is that okie… per my understanding no matter what u use, u have to have a static ip…


  49. @Holyflame009 :

    On Maximum traffic : It depends on your home computers configuration. As the load will be directly on your computer, it should be powerful enough to handle it

    On Static IP : You will have to use static IP if and only if you have static IP given by your ISP. In case You have dynamic IP you will have to use dynamic update Client as mentioned in Step 5.


  50. Hi!,

    I have a domain (, installed web developer server suite, have bsnl dataone connection, installed dyndns client… my question is how can I host my own website with my domain ( my own computer?

    Thanx in advance.

  51. i want to make a my webpage publish on internet
    is there any website which publish your web pages by taking your html code instead of giving there own templates to make the same
    plzz respond soon

  52. Hi
    I read this article. It is really great. I tried to do the same thing on my laptop but using the apache server which comes with xampp for windows. I can see the website when i type localhost/drupal but others cannot see my website.
    I made an account with Downloaded and installed the dynamic ip client but still nothing is working.
    I am using the Connect(HFCL) broadband. When i put my site name in the browser it says:
    “A username and password are being requested by . The site says: “DSL Router””
    and asks for a username and password.
    i fill in the username and password given to me by the service provider but still it again asks for the same.
    Can you help me on this????
    I will be very thankful to you

  53. Hi
    i just figured it out what i wrote in the last comment.
    Actually i had not done port forwarding.
    But still the problem is same.
    My website does not open anywhere neither in my pc nor anywhere else using the domain name given by
    When i write that domain name in my browser it opens my router configurations. When it is entered in some other PC on WAN it says url not reachable or a similar error.
    Can u help me please…

  54. Hello

    Nice one.
    Will this harm my system anyhow.
    Can I continue to work normally in my PC after making it a server?
    Will i have to keep my PC running 24/7?

  55. @Blogcrowds : I never estimated it for such huge traffic. If you want a site which you can share it with friends this could be best solution. Yes Apache is but not sure if we can replace Apache with HFS here.

  56. i tried this..and clear allmost all the stages successfully but when i open the website it always open the interface of my adsl modem instead of my website.which i ve configured also with the help of “root to real folder” button.
    please help me

  57. Could hosting be done on an older PC if the purpose is a simple resume site? I have an ancient P4 with 128MB of RAM sitting in my closet. I would wipe the hard drive and use it for that purpose only.

  58. Hi Ashish,
    We have a local community website that mostly has html pages. We want to enhance it to include some interactive matrimonial section. Somebody volunteered to provide us with web server to host our application but it didn’t work out. So now we are looking to use my home desktop (P4, 1.5 GB Ram) as a web server. Our application front end is developed in flex, database is my SQL and interface between front-end and DB uses Java/XML. We really want to use apache as we use the same for development.
    Do you think your approach will work for us?


  59. Hi i am facing same problem

    My website does not open anywhere neither in my pc nor anywhere else using the
    domain name given by
    When i write that domain name in my browser it opens my router configurations.
    When it is entered in some other PC on WAN it says url not reachable or a similar
    Can u help me please…

  60. Nice article. The software helped. I was just trying to learn ajax and I needed a web server to try out the samples. Apache was too much advanced. This software is pretty easy. thnx

  61. Dear Ashish:

    Thanks for the excellent steps outlined .
    I followed all the steps to dot ,however I am faced with following problem :

    1)I registered the domain with .The website opens perfectly well on my pc when I try to open through HFS. However when I try through web browser ,it can’t connect .

    Can you please suggest what can be possibly wrong ?


  62. I need some help, I did a self test and the test says I am behind the router what does that me. Please help me out. Thanks.

  63. This is really good for windows: it works great with XP.
    I wanted to do the same with a small family tree site using PHPgedview.
    PHPgedview requirements:

    Web server
    PHP v5.2+
    MySQL 3.23+,

    all suggestions welcome!

    Thanks Ashish

  64. Hey i signed up for like a free domain from the no ip place, and when i type it in, it doesnt go to my ip address. i dont have a static ip. the normal ip address works when i type it in, but when i type in the free domain i chose it doesnt load

  65. hey,
    I did al the above mentioned steps installed both HFS and No-IP DNS updater,tested HFS it says it is working perfectly and then i added a file to root folder. i can only open my site in localhost:8025 mode but my site doesnt open when i enter my address
    what do i do?

  66. hey,
    I did al the above mentioned steps installed both HFS and No-IP DNS updater,tested HFS it says it is working perfectly and then i added a file to root folder. i can only open my site in localhost:8025 mode but my site doesnt open when i enter my address
    what do i do?

    plz mail me with a solution at [email protected]

  67. hi all,
    I tried the program and it works fine , but when i enter my site , it doesnt enter the index.html page , it shows all the files in that folder.Now visitors will have to search the index.html to see the site i designed.

    Is there a way to tell hfs to open the “main page” = index.html automatically

    thanks .

  68. Hi,
    It is really nice article. I followed all the steps properly. It is working properly in local network. But when my friend is trying to connect from out side LAN with my public IP it shows unnable to connect. I tried everything. Could you suggest some possible errors or solution.

  69. hi ashish
    superb tutorial.
    ashish i have some question regarding this.
    1 as i am going to launch my site from home server only how to make it secure and easy as i am not a tech guy.

    2 can i choose any domain name for free?
    3 which software is best for creating a web page dreamweaver or something else.

    pleae help

  70. hi

    thanks for the info first. i am looking for some fun as well as some sharing with friends.actually i wood like to share some files and content among my friends. i have a lenovo g430 series laptop with 3 gb ram and 160 hdd with dualcore intel processor. can i share around 100 gb data with hardly 10 users at a time? can i prevent my site to be listed in search engines? please help me with this. i have zonealarm suite installed at my laptop.

    thanks a lot

  71. Hi,

    When I try this and put the name of my host in a web browser, it comes up with my router config page and not the Blind root folder I have selected.

    Help please?

  72. Problem solved – if you use a computer on the same LAN as your router, it shows your router config page. Try using a computer on another LAN for testing.

  73. thank you for this cool article…

    i have just one question…can my friends edit a file inside the
    shared folder. i am planning to use this web server a repository
    for the files me and my friends have been working this possible
    on this particular setup?

    Please help me….

  74. hi guys i m still confused . i hav download DUC and HFS .HFS open website in my computer but when i try it on other computer it not open and what is the purpose of DUC and i hav get my domain name but what is the link between DUC and HFS
    as i understand little bit about them is that DUC provide website name and HFS file uploader

  75. My mc afee detect HFS as a virus when I try do download it. It won’t even let me safe the file. Isn’t that weird? what should I do? Is not a virus isn’t it?

  76. Sooooooooooooo Nice

    the process to setup the hole thing doesn’t take 10 minutes

    Thank you So much.

  77. i tried but the thing is that I encountered problems in running my PHP.

    anyway thanks.

  78. hai
    thanks for ur tut
    i’ve tried it and did all successfully
    now want to know what web address shud i give to my friends?
    i also have a wamp server installed in my pc so can i show my friends all the php sites hosted in my pc?
    when i try to access with ip its opening my router page
    but when i try to open localhost:port its getting opened

    pls solve the above probs will be waiting

  79. I realize this software is mostly for hosting a family site but I was wondering how can I host a site for a friend that will be used for commercial purposes? Is there a way to do this for free? Thanks in advance

  80. Great website man. I’ve got one question.

    My PC is constantly on and it is connected to a VPN (I live in an Arab country, so you can imagine that censorship runs amok), so I can visit any website I want.

    Conversely, from work, I can’t open anything.

    Now, I have a website (see link – it’s still empty), which is accessible from everywhere.

    My question is: is there a way to set things up so that I can connect from work to home, and from home to the rest of the world? In other words, how do I make my home-hosted website a proxy server?

  81. You can use software like Team Viewer which can be configured even with password. Keep it running at home and note the id / password which is givem from Team viewer. Install the same at office, connect. Only limitation is the bandwidth. If its great at both places you will enjoy it.

    Thanks for spell checks, corrected it.


  82. Hi Dear kindly send me the detailed info about the hosting my own Server. I’m going to start a Web Development Company in Low scale I have already many projects so I want to host my own server also.

    What the key requirements for hosting a server.
    What should be the configuration of System.
    What should the Speed my Internet Connection.
    Static IP Configuration.
    and list of all Softwares which I have to Install into my Server
    How can I manage my Hosting
    Control Panel.
    ETC ETC.
    Thanking You..!



Please enter your comment!
Please enter your name here