Make PC a Server(Run website or Share files)

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. http://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

31 responses to “Make PC a Server(Run website or Share files)

  1. raman

    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

  2. saket

    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..

  3. Miglani

    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…………

  4. saket

    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…

  5. Want to know how to set up a server Pc?

  6. 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?

  7. saket

    @hydraulic car jack
    In what point u do not agree?

  8. 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.

  9. Kokey

    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

    • Saket

      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.

  10. Сегодня в аську ссылку на этот посто скинули. Прикольно, не зря перешёл

    здесь видел ет gamebulletin.ru

  11. excellent tips thanks for sharing, hope you had a superb new year.

  12. I know this is off-topic but have you heard about the huge snow blizzard pounding the mid-atlantic part of the country? The washington dc area is getting about 2 feet of snow for the second time this winter. I have relatives in that area and they’re all stuck in their homes.

  13. Hi,I thought I’d post and let you know that your blogs layout is really messed up on the k-melon browser.Anyhow keep up the good work

  14. Hi there, I spotted your blog via Google while searching for Harley shifter linkages and your article caught my eye.

  15. Thanks for posting this topic. I had been looking for good information about it.

  16. Thanks to you I dont seem like an idiot. I had an argument with my friend and this shows I was right. Thanks!

  17. Thanks

    Really sweet blog you got there. Some of your article really amazed me. I will definitely visit your blog again!

  18. Fine work, hope to hear more from you.Are you working in a Group that you can make such a fine Blog?

  19. I komu to po trzebne?!?!Wymyślili sposób na kolejne zbieranie kasy! Swoją drogą artykuł dobrze napisany! Znalazlam arta w google, szukajac cos o energii. Czekam na nastepne wpisy!

  20. Thanks for this post, answers a bunch of questions I was having.

  21. Pingback: New Orleans advertising agencies

  22. Pingback: home remedies for ringworm

  23. Pingback: κυτταρίτιδα

  24. Pingback: ar news

  25. Pingback: detoxification diet

  26. Pingback: Gebze Motorlu kurye

  27. Pingback: Prestashop Themes

  28. Hi, i have already installed XAMPP, and http://localhost works.
    When i check my IP using cmyip.com, a PC that not on LAN , accessed my IP, it required username and Password.
    Then, i created a account named HELLO, pass is 123456, but cant log in!
    What’s problem here?
    Thanks!

  29. Hello there, simply changed into alert to your weblog through Google, and found that it’s really informative. I’m going to watch out for brussels. I will be grateful in case you continue this in future. Many other people will probably be benefited out of your writing. Cheers!

Leave a comment

Pages

Archives

Current Month

March 2008
S M T W T F S
 1
2345678
9101112131415
16171819202122
23242526272829
3031