NOTE:Keeping up our PC as a server has few hurdles:
*If our Internet connection has dynamic ip address (i.e. each time modem is restarted…IP address changes),server address changes.
*Due to bandwidth limit,only few people can download files(though accessing of web pages can be done easily).
To overcome the 1st hurdle,use domain name from free dynamic domains(eg. http://dyndns.com,while entering details type external ipaddress as obtained from http://cmyip.com)It will give a domain name (eg. server.homeftp.org).Download and install DynDN Updater(allows to connect ur pc directly to its server)
Download and install Apache web server from http://httpd.apache.org/download.cgi(.msi for Windows,.tar.gz..for Linux or Unix).
During installation in Windows:
In Network domain:enter domain name obtained(eg. server.homeftp.org)
In server name:Enter same as above with www(eg. www.server.homeftp.org)
Administrative email:any email id
Now,leave all fields recommended and default,install it.
Start apache web server(firewall gives warning…unblock it).
In the browser type http://localhost.If success page comes up,then installation is correct.
Now browse through C:\Program Files\Apache Group\Apache2\conf open httpd.conf using notepad, (# shows- lines are commented) find string,DocumentRoot change path to the directory whose files u want to share or keep web pages.(eg. D:\web\ ,default is C:\Program Files\Apache Group\Apache2\htdocs).Now find a line (# This should be changed to whatever you set DocumentRoot to)below it change path of Directory to same as that of DocumentRoot.
Now create a file index.html inside the DocumentRoot(eg. D:\web\).And keep all files,folders inside that to share or the web files for the website.
To view the logs go to:C:\Program Files\Apache Group\Apache2\logs.
Now to make it work across the world over internet.We have to configure the modem,to do a Virtual Servers Setup.
Now open cmd from run,type ipconfig: it will give internal ip (eg. 192.168.1.2). Type this internal ip in browser.we can see our server running over LAN. Now,note down external ip from http://cmyip.com.To test is it really working,from any other computer(not on that LAN),type external ip u noted or domain name registered, in the browser.
Done!!
Is it??
Post ur experience.
My PC as a server.http://my-stuffs.co.nr or http://mystuffs.homeftp.org
November 20, 2008 at 8:47 pm
it displays the routers index page instead of the website page .
i have setup the virtual server http in the router but it still displays only the routers page.
hope you could help me. thnx
November 21, 2008 at 8:42 pm
Is entering “127.0.0.1″ or “localhost” is working?If yes then from command window enter command “ipconfig” .it shows IP address say 192.168.1.2.Check again in ur virtual setup,u have given this IP address or not.Try again.Shuld work..
November 23, 2008 at 11:51 am
hey i am instaling the apache but its not start when i click on start it give a error messege..”the request operation fail” plzzz mail me whole procedure with pictures…………
November 23, 2008 at 12:08 pm
The procedure given here is detailed and explanatory enough to complete the required task…It will be not possible for me to mail individually the snapshots…
The error message u r getting is due to improper configurations Try again reinstalling keeping values to be entered during installation to default…
January 27, 2009 at 10:58 pm
Want to know how to set up a server Pc?
March 14, 2009 at 5:46 pm
I must say, that I can not agree with you in 100%, but that’s just my opinion, which could be very wrong.
p.s. You have a very good template . Where did you find it?
March 14, 2009 at 8:46 pm
@hydraulic car jack
In what point u do not agree?
April 29, 2009 at 6:58 pm
Hi we are outsourcing company and we need many time this features, and we need to make our one of the PC as server.
I have used the methods mention by you but i have some trouble with that.
Please guide me more.
April 29, 2009 at 11:15 pm
@linkspire..
ya tell what exactly u have problem in..
May 11, 2009 at 5:33 pm
same problem here…
i already finished the whole steps but it just give me the routed page…
heres some details:
ip add: 192.168. 1.100
subnet mask: 255.255.255.0
default gateway: 192.168. 1.1
May 13, 2009 at 1:48 pm
from ur pc r u entering 192.168.1.100?
is this works?just tell what happens..
I am assuming your localhost(127.0.0.1) is working fine.
May 25, 2009 at 2:10 am
Сегодня в аську ссылку на этот посто скинули. Прикольно, не зря перешёл
здесь видел ет gamebulletin.ru
November 19, 2009 at 5:05 pm
This is by far one of the neatest published articles on this content. I was exploring on the exact aforesaid subject field and your writting entirely took me off with the way you see this matter. I compliment your insight but do leave me to come back to comment further as I’m presently widening my search on this subject further. I will be back to join in this discussion as I’ve bookmarked and tag this very page.
November 19, 2009 at 6:30 pm
This is by far one of the top-grade written articles on this subject field. I was researching on the exact corresponding field and your position totally took me off with the way you understand this subject field. I congratulate your insight but do allow me to come back to input further as I’m currently broadening my research on this subject field further. I will be back to join in this discussion as I’ve bookmarked and tag this very page.