Previous in Forum: Learning to Code Made Easy   Next in Forum: Windows Updates Not Installing
Close
Close
Close
10 comments
Rate Comments: Nested
Associate

Join Date: Dec 2009
Location: INDIA.
Posts: 39

Web Server On Home PC

03/31/2013 11:06 AM

I want to make my pc as a web server, means my computer into web server. I have ADSL Modem and also has a broadband internet connectivity. is there any procedure to do this . if yes, then, please learn me with step by step procedure how to make this one. thank you.

__________________
"Keep work and family separate. "
Register to Reply
Pathfinder Tags: web server
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#1

Re: Web Server On Home PC

03/31/2013 11:49 AM
Register to Reply
Guru

Join Date: Jun 2009
Location: South of Minot North Dakota
Posts: 8376
Good Answers: 775
#2

Re: Web Server On Home PC

03/31/2013 1:17 PM

So what are you serving?

Register to Reply
Guru

Join Date: Jul 2008
Posts: 1688
Good Answers: 145
#3

Re: Web Server On Home PC

03/31/2013 8:07 PM

My suggestion would be to Google "Apache web server". General information and step by step instructions can be found rather easily with this search term.

I also suggest using Linux as your operating system. I think Apache is available for Windows but I have never talked to anyone who actually did it.

__________________
Few things limit our potential as much as knowing answers and setting aside questions.
Register to Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#8
In reply to #3

Re: Web Server On Home PC

04/01/2013 5:23 AM

I agree with you completely, but if the OP's PC is fairly new, its a waste of money and resources to use it as a web server.

An older, slower PC with Linux (usually free!) and the right server software (Apache would appear to be excellent, but I have not used it myself!), also usually free, would do the job well, probably better than Windoze anyway.....

It would also not need a mouse, keyboard or even a screen once running correctly!!! Though many do keep them available/connected, but switched off!

There are also switches around that allow one screen, one mouse and one keyboard to be switched between 2 or more PCs, maybe also a possible space/money saver.....

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Associate

Join Date: Dec 2009
Location: INDIA.
Posts: 39
#4

Re: Web Server On Home PC

03/31/2013 10:16 PM

it is just a project basis.

__________________
"Keep work and family separate. "
Register to Reply
Guru

Join Date: Feb 2012
Posts: 595
#7
In reply to #4

Re: Web Server On Home PC

04/01/2013 5:01 AM

if you just set up an i-net server to learn how to do such - your ok _ if you want to meake your site loading at real times at client side you likely want more outbound speed/bandwith (optimize your content or serve by demand policy) also you must know alot about server sequrity - so you wont be locked off from your own server in a 1-st 15 minutes or so - i know people who have done this - never myself nor knowing too much of it in detail . . . (chk'g bookmarks) www.freebsd.org www.linuxfromscratch.org www.scientificlinux.org www.zeroshell.org www.ltsp.org

__________________
ci139
Register to Reply
Guru

Join Date: Jun 2006
Location: Ottawa Canada
Posts: 1975
Good Answers: 117
#5

Re: Web Server On Home PC

04/01/2013 12:00 AM

Why?

__________________
If it was easy anybody could do it.
Register to Reply
Guru

Join Date: May 2007
Location: Budapest, Hungary, HA5YAR
Posts: 617
Good Answers: 14
#6

Re: Web Server On Home PC

04/01/2013 2:03 AM

First you have to run a simple web server on your machine like Xerver or something similar.

Then you have to develop your HTML page(es) and connect them to the web server

You have to open a "tunnel" on your firewall in order to make your server visible from outside

Then you have to ensure the addressability (static IP or Dyndns service),

__________________
Aged man is not old man...
Register to Reply
2
Guru
Engineering Fields - Electrical Engineering - Analog and Digital Circuit Design Engineering Fields - Electromechanical Engineering - Transformers, Motors & Drives, EM Launchers Engineering Fields - Engineering Physics - Applied Electrical, Optical, and Mechanical

Join Date: Jan 2008
Location: NY
Posts: 1207
Good Answers: 119
#9

Re: Web Server On Home PC

04/01/2013 6:26 AM

Install the free software to create a LAMP (Linux, Apache2, MySQL, PHP5) server. If the machine isn't too old, I suggest you install Linux with a desktop GUI (graphical user interface) so you don't have to struggle with command-line syntax. The GUI can always be disabled after setup if only want a "pure" web server.

If your DSL modem does not have a built-in ROUTER, you should obtain a router to provide security and multiple connections for your home network.

Create and install (or link) your html pages to the web server default folder (example "/var/www").

Assign a fixed internal IP address to your web server that is consistent with your internal network addresses (example "192.168.2.196")

Open your web pages from a browser (like Firefox).

Access web pages from within your local network by typing "http://xxx.xxx.xxx.xxx" (example "192.168.2.196") where the x's are the local ip address of your server on your internal network.

To access web pages from OUTSIDE your local network you must open a port in your DSL Modem/ROUTER to your web server. Read the instructions/helpfile on your specific router to change the appropriate settings.

Access your web pages from outside your network by typing the the IP address your service provider has assigned to your home connection.

If you are a simple home user (not a business account) your external IP address will probably be dynamically assigned and may change at ANY time your provider wants it to change. This makes it difficult to assign a "domain name" to your web server, but you can pay for a DDNS (Dynamic Domain Name Service) which will track your IP change and keep your domain name linked to your current address.

If your internet service provider has assigned you a fixed IP address, you can just link your domain name to the fixed address and you are done.

If this sounds too complicated or too much work, you can either make the effort to research, experiment, and learn about all the above, OR you can make friends with a computer nerd and ask for their assistance ;-)

Register to Reply Good Answer (Score 2)
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#10
In reply to #9

Re: Web Server On Home PC

04/01/2013 10:12 AM

GA

Nice post.

__________________
"What others say about you reveals more about them, than it does you." Anon.
Register to Reply
Register to Reply 10 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

Andy Germany (2); BruceFlorida (1); ci139 (1); lyn (1); mjb1962853 (1); Qqberci (1); RAMAKANTA (1); tcmtech (1); Yusef1 (1)

Previous in Forum: Learning to Code Made Easy   Next in Forum: Windows Updates Not Installing

Advertisement