Host A Web Server on Your Home PC主機的Web服務器在您的家用電腦
If you want to make small site of your own and don’t want to pay for hosting prices, this article and exactly tell you how to do it.I had always wondered if I can host my blog or a small site on my laptop but well looking at traffic and security I can’t.如果您想小型網站,你自己不想支付託管價格,這正是文章,並告訴你如何做it.I一直想知道如果我能收容我的博客或小型網站上,但我的筆記本電腦以及尋求交通和安全我不能。
But if you want to make a website for friends and family this can be a good solution for u .但是,如果你想要使一個網站為朋友和家人這可以是一個很好的解決方案進行U 。 You don’t have to pay any money for this.您不必支付任何金錢的。 A friend was going through some magazine ( I am not sure which one ) and he told me about a software that really can help you hosting a web site on your own pc.I gave it a try and its really good.A small analysis and experience of this software in just 6 steps and its tested in Windows Xp, Vista you need to check一位朋友正在經歷一些雜誌(我不知道哪一個) ,他告訴我一個軟件,真的可以幫你託管一個網站,在您自己的pc.I賦予它一種嘗試和其真正good.A小分析和經歷這一軟件僅6步驟和測試Windows XP , Vista將您需要檢查
Step 1: Download and Run The Software第1步:下載並運行軟件
Download the下載 HFS or Http file server痙攣或HTTP文件服務器 .It is free and open source and above all that its a standalone executable that requires no installation. 。這是自由和開放源碼及以上的所有,它的一個獨立的可執行文件,要求沒有安裝。
- When you run HFS you might be asked whether or not allow hfs.exe to connect to Internet.Unblock it.當您運行痙攣可能會要求您是否允許hfs.exe連接到Internet.Unblock它。
- But if you have 3rd party firewall you will have to configure it accordingly.但是,如果您有第三方防火牆,你將必須配置相應的。
Step 2: Configure the port第2步:配置的端口
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 which is used my operating system itself.)根據預設痙攣使用端口80.if您的防火牆封鎖端口80 ,設置痙攣一些其他端口(例如8025或永遠是免費的,為謹慎起見,保持1024個以上是用於我的作業系統本身。 )

- 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 visit對於所有需要幫助的訪問 portfrward
- 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.端口轉發可以幫助你建立港口forwarding.There您可以選擇路由器的類型和選擇項目要設立港口轉運的,這是在我們的案例是痙攣。
Step 3: Test HFS第3步:測試痙攣
Now you need to test your settings before you start.Click the menu in HFS and choose self test.If the test completes successfully, your settings are correct and you are ready for next step, To point your web browser to your ip address.現在,您需要測試您的設置,然後再start.Click的菜單中選擇痙攣和自我test.If測試成功完成,您的設置是正確的,你已準備好下一步,要指向您的網頁瀏覽器,以你的IP地址。

Step 4: Register A domain第4步:註冊的域名
For setting up a web site, you need to first assign it a domain name.Domain name are aother name for a computer ip address.For this, you will need to a DNS service running on your computer which can be mapped to particular ip address.為建立一個網站,你首先需要為其指定一個域name.Domain名稱aother名稱的計算機的IP address.For此,您將需要一個DNS服務的計算機上運行,可映射到特定的IP地址。
- Create a創建一個 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”登錄該網站的帳戶,您created.On左邊欄點擊“主機/重定向”
- Click on Add.In the page that opens enter domain name of your choice eg “myfamilypics” and It will create a sub-domain on its own server that will work on your ip.點擊Add.In的頁面打開輸入要查詢的域名您選擇如“ myfamilypics ”和這將創建一個子網域在其自己的服務器,將您的知識產權。

- Your IP is recorded when you add the domain name.If you ISP is blocking port 80, you can choose a redirect given under same page.您的IP記錄當你添加域name.If你的ISP封鎖端口80 ,您可以選擇重定向根據同一頁上。
- 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.訪問相同的從您自己的browser.You可以將您的檔案在痙攣和獲得相同的。
Trust me I have done it and it works.But i cant give the link of my url ( as it is hosted on my computer) here keeping in mind the security issues which I am not aware of.相信我,我也做它,它works.But字母i不能給我的鏈接網址(因為它是存放在我的電腦)在這裡牢記安全問題,我不知道。 SO you also should share it among your friends.所以,你也應該分享您的朋友之間。
Step 5.第5步。 Install The dynamic update Client安裝動態更新客戶端
Skip this step if yo have a static ip.If you don’t, you will need a client software to take care of of your changing ip address.跳過這一步,如果球有一個靜態ip.If你不這樣做,你需要一個客戶端軟件,照顧你的改變IP地址。
- Download the下載 No-Ip.com Dynamic DNS update client software無Ip.com動態DNS更新客戶端軟件 . 。
- 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.它安裝,並提供登錄details.This計劃將坐在系統托盤和自動更新您的帳戶NoIp當您的外部IP地址的變更。
Step 6: Launch Your Website第6步:啟動您的網站
You can now decide what page will appear when someone access your site, like the default page.To change the default page,現在,您可以決定哪些網頁會出現當有人訪問您的網站,如默認page.To更改默認頁,
- 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 in your website.現在您可以添加文件和文件夾在這裡您想在您的網站上。
- Next is when your site is ready send the address which you created in NO-IP or step 4 to all your friends.其次是當您的網站是準備發送地址中創建一氧化氮IP或步驟4給所有的朋友。
- You can even see what others are viewing in advanced mode of hfs您甚至可以看到別人正在查看的先進模式,痙攣

This helped me a lot to understand how things work when my blog is hosted and how do my hosting service works.This was a Small example on low scale basis for you to try and for people who want to run there host on there own system.Do tell me your experience when you try it.I will be glad.這幫助了我很多了解事情的工作時,我的博客託管以及如何盡我的託管服務works.This是一個小例子就低規模的基礎上為您嘗試的人誰要運行有主機有自己的制度。不要告訴我你的經驗,當您嘗試it.I會很高興。
Tags:標籤: dynamic_dns_update , , hfs_cnfiguration , , setup_no_ip , , site_hosting_pc

Posted on 9th February 2007 by發布於07年二月九號的 Ashish Mohta Ashish Mohta , A tech blogger who writes about solving day to day problems of people who use computer.一個高科技博客誰寫了關於解決日常問題的人誰使用計算機。 He also writes on How to use the applications like Office, PC tips, Online tools,Browsers and more. All posts by他在書中還對如何使用應用軟件,如辦公室,電腦提示,在線工具,瀏覽器和更多。 所有職位 Ashish Mohta Ashish Mohta | Connect with me @ |與我聯繫@ Twitter 嘰嘰喳喳 | | Linkedin LinkedIn的 | | Facebook 臉譜 | | Stumble 失敗 | Need more help? |需要更多的幫助? Ask your Questions at our 問問你的問題在我們的 Support Center 支援中心



























Nice summary.尼斯總結。 You should fix the mistyped URL to portfo(i)rword.com, though.你應該修正錯誤網址portfo (一) rword.com ,但。
@Tim: Thanks a lot for passing by and the comment.I have fixed the link. @添:謝謝了很多,經過和comment.I有固定的聯繫。
Very nice guide, I’m puzzled though.非常好的指導,我雖然感到困惑。 Apache is by far the most widely used industrial standard free open-source server. Apache是目前最廣泛使用的工業標準,免費的開放源代碼服務器。 I never heard of HFS and from the description its more of a file server rather than a web server.我從未聽說過痙攣和說明其更多的文件服務器,而不是Web服務器。 To add more expand the article maybe also go into bandwidth/ISP requirements etc.要添加更多的文章擴大可能也進入帶寬/的ISP要求等
@Blogcrowds: Hi thanks a lot for this comment.I will be updating my article today evening and will email you on that. @ Blogcrowds :您好感謝了很多,這comment.I將更新我的文章今天晚上就會向您發送電子郵件了。
Keep coming保持未來
If you are looking to run a local Web-Server, under Windows, use the WAMP Stack…如果您正在尋找運行一個本地Web服務器, Windows環境下,使用WAMP棧...
Web-Developer Server Suite.網絡服務器的開發套件。
good information..良好的信息..
Very nice info!非常好的信息!
@Everybody: Great Response people.Thanks a lot. @大家:大響應people.Thanks了很多東西。
However I would update on this, that this might not be suitable for very high traffic.You can use it for light purpose.不過,我將更新在此,這可能不適合很高traffic.You可以使用它輕的目的。
Nice article AM尼斯上午條
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將所有安全性,高交通thingie一邊,我也不會要我的電腦得到對火災
[quote comment="1607"]Nice article AM [報價評論= “ 1607 ” ]尼斯上午條
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 :)[/quote]將所有安全性,高交通thingie一邊,我也不會要我的電腦得到對火災: ) [ /報價]
@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 @ hongkiat :我同意你關於這一點,它可以被起訴供個人使用的friends.It可能無法處理的交通和安全issue.Thanks了很多的comment.Keep訪問
Hi ashish您好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. Gr8文章...真的翔實因為我試圖這樣,但是didn't knw ABT生根粉的痙攣的事情只能試圖這樣做沒有知識產權有力工具。
nyways thanks nyways感謝
@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 @阿布舍克:謝謝Abhshek.This一個可以良好的人誰想要主辦的網站提起訴訟公正之間friends.It可以給他們一個機會創造太多
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.我沒有確切提到... ..但是它沒有工作..當我輸入我的IP地址與端口號時超時...可能是我做的東西是錯誤的。 Can anybody help me troubleshooting..Thanks….My email is任何人可以幫助我解決問題..謝謝... 。我的電子郵件是 masoommirage@gmail.com
@Masoom: If you don’t have static IP you need to use the second link I have given in the post. @馬蘇姆:如果你沒有靜態IP您需要使用第二個鏈接給我在後。 That might solve your problem這可能會解決您的問題
Very nice.非常好。 I’m sure a lot of people are looking for information on this.我敢肯定有很多人正在尋找了解這件事。 Great job buddy.出色的工作夥伴。
i know from where u go this article …reply with ur justification.我知道從那裡ü走這條...與我們的答复理由。
@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. @ Rony :隨著露水尊重我不覺得我需要給任何理由,但那麼我從一本我的朋友誰發了家庭託管網站在自己的電腦。 And he helped me out to make this article too.他幫助我,使這個文章了。 Hope that helps.希望有所幫助。
great article very nice and cool偉大的文章非常涼爽宜人
i will use it with my friend but is it anything more secure ?我將利用它與我的朋友,但它更安全的東西?
please help me請救救我
thanks謝謝
@Ali: I would not recommend it for proffesional web hosting. @阿里:我不會推薦它proffesional網絡託管。 If You do it for fun and family its good.如果你這樣做的樂趣和家庭的良好。 Else you PC might be hacked.否則你的PC可能被黑客入侵。
hi夏威夷
i did exatly as u hav mentioned in d steps .我沒有exatly如u甲肝病毒在D提到的步驟。
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.我想知道我的網站上織被瀏覽通過移動的GPRS 。
waiting for your reply….等待您的答复... 。
Hi Tejas,您好敏捷,
1. 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.上述步驟只是重定向您創建域加時賽您的計算機的IP 。
2. 2 。 Search in google for “make mobile web page”.在谷歌搜索的“讓移動網頁” 。 There are lot of links availble.有大量的鏈接, 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如果這doesn't工作,我建議你看看一些書籍或在線內容的外觀和搜索
Hope this helps希望這會有所幫助
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.我住在東京舉行。
Hi Suresh,您好蘇雷,
You have a good idea and I accept that histing is costly too.你有一個好主意,我承認, histing是過於昂貴。 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不要告訴我們您的需要
Regards關心
Ashish
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.你怎麼推薦連接DSL /電纜256或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請讓我知道你recomendations
@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.我們做的小項目和大約30個用戶的處理很容易,但它是一種重量輕應用。
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由於奧蘭多
This is a really awesome (looking) program!這是一個非常可怕的(尋找)計劃!
But, out of curiosity, would the Ubuntu Server work just as well?但是,出於好奇,將Ubuntu的服務器的工作一樣嗎? I am horrid with computer terms, so sorry if the answer blatantly obvious.我很可怕的計算機而言,非常抱歉如果答案公然顯而易見的。
@Tat: It should work. @達:應該工作。 Just get to know about security settings required by a server .只要地了解安全設置所需的服務器。
One last question, does this mean I can have my own free .com?最後一個問題,這意味著我可以有自己的自由。 com ? Or is it just so I don’t have to pay others for hosting memory?或只是所以我沒有支付其他主辦記憶?
You cant, You will have to pay for domain name pricing and yearly charges你不能,你將不得不支付域名每年的價格和收費
i havent try it yet, but what would you recomend for community base website hosting for about 50,000 people字母i havent嘗試,但你會建議為社區基地網站託管約50000人
@abdulmajeed: It will depend all on your daily traffic ….How mich daily traffic you get for the community? @ abdulmajeed :這一切將取決於您的日常交通... 。如何密歇根州每日的交通你的社區?
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. Thansk ,非常有用的信息..我已經註冊的域名和我有一個websited主辦,現在是我在use.but託管公司doesnot給我更多的空間,所以我想使我的筆記本電腦作為一個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…可以說,有人喜歡我的網站然後他/她點擊鏈接myphoto我織我的網頁重定向到我的筆記本電腦用PHP (重定向)如果我給我的IP地址,我的筆記本電腦可我的朋友看到我的照片從我的筆記本電腦如果沒有..是有沒有辦法做到這一點...
@Rabin: By just IP address it wont work. @拉賓:通過公正的IP地址它慣於工作。 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.所以,如果你使用的是教程的網站上面你就沒有裝箱的IP將指向該網站在您的計算機上。 Thus if you host your pics on the site in your laptop your friend will see it automatically, no need to give IP.因此,如果你自己的圖片東道國在該網站上你的筆記本電腦你的朋友會看到它會自動,沒有必要給的IP 。
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..我不知道更多的沒有IP所以如果我沒有登記的IP然後我可以重定向到我的筆記本..我不希望重定向我的所有網頁,我的筆記本我只是想重新某種聯繫到我的筆記本電腦(如照片) ...所以我想要做新的東西..非常感謝你..您的幫助..
I went through all the information and finally I did it.我經歷了所有的資料,最後我做到了。 when we bind the root.it do nothing.當我們約束root.it無所事事。 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!謝謝你的幫助!
i want to try this for my project..but is this also applicable even if your just using dial-up for internet connection?我想這對我的項目..但是這也適用於即使您只是使用撥號網絡連接?
@rommel: Yes it does. @隆美爾:是它。 Even in dial up you get an IP but that can change as well.即使在撥號上網你的IP ,但可以改變的。 So dont forget to use IP tracker因此,不要忘記使用IP追踪
Just a comment.只是一個評論。
Would like to say that Abyss Web Server X1 is the best free web server made.要說的是, Web服務器深淵X1是最好的免費網絡服務器了。 Can be down loaded here:可以減少加載的位置:
http://www.aprelium.com/abyssws/download.php
I use 2.5 it is awesome.我使用2.5這是可怕的。 Most steps above work the same with abyss.大多數上述步驟的工作同樣的深淵。 Thanks謝謝
Thanks Dan.由於丹。 I will take a look at it.我會看看它。 If I like it proably make a post on it.如果我喜歡它proably使一個職位它。
Great Information about the technical Know how about how to convert a home PC in to a web host computer.大信息技術知識如何如何轉換家用電腦在網頁主機電腦。 Thanks.謝謝。
@cyberknowhow: Great !. @ cyberknowhow :太好了! 。 How you are planning to use this ?你是如何計劃使用呢? Please share with us請與我們分享
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.感謝驚人的信息,我不能港口著守在我的Linksys現在,我想,我還是失敗的自我測試,但賽會很酷,它就像我的FTP之一,它的一個單一的。 exe ,您只需點擊它和多數民眾贊成它,你只需鍵入的IP對任何存取網絡已在世界上和你有我的整個硬盤驅動器。 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!我喜歡它,我希望得到這個工作,但如果它不是一個重型一個,然後我必須對東道國的真正服務器的所有trafiic ,金錢錢錢!
how can i make it so other ppl can view it?怎麼這樣做其他脂肪酶可以查看?
email:電子郵件: jasonbay13@gmail.com
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????我想知道有多少的最低內存要求對此我有256MB和奔騰4處理器足夠使服務器? ? ? ?
and bytheway ru hosting this web “www.technospot.net” from your home server?and how can i got this domain “.net” ….???和bytheway如舉辦這次網絡“ www.technospot.net ”從您的家庭服務器?和如何才能得到這個域名。 “淨” ... 。 ? ? ?
@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芽我發了一份郵件,我通過聯繫表
i don’t have static IP and im using router at “portforward.com” they only ask for static ip check this link.我沒有靜態IP和IM使用路由器在“ portforward.com ”他們只要求靜態IP檢查此鏈接。 and i dont want to buy static ip.my isp is bsnl data one.so any other method to do this?????和我不想買靜態ip.my的ISP是BSNL公司的數據one.so任何其他方法來做到這一點????? plz help……. plz幫助... ... 。
__LongTerm__
I have told about a software in this software which you can use in case you dont have static ip.我已經告訴了軟件這個軟件可以使用的情況下,您不要有靜態IP 。
ya i know that but plz see that link they must want static ip for port forwarding遐我知道,但plz看到,連結他們必須要靜態IP端口轉發