Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


kiwis

832 posts

Ultimate Geek


#17891 16-Dec-2007 22:36
Send private message

what's the difference between a home computer and a webserver? how can one make their home PC a web server??

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
freitasm
BDFL - Memuneh
79270 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #100335 16-Dec-2007 22:46
Send private message

Webservers are capable of providing access to webpages through a server program such as Apache or IIS.

A home computer can act as a websertver if you install one of these programs (or any of other web server programs around). However it's best for it to have a static IP address so other computers can find it, and better to have its own domain name.

Depending on how popular the service provided is you might find that home configurations are not suitable for this role. Also depending on the popularity you might find that "home" connections (DSL, cable) do not provide enough bandwidth for some applications.




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup




tonyhughes
Hawkes Bay
8476 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

  #100336 16-Dec-2007 22:49
Send private message

No difference, the hardware is the same, its just a question of formfactor and specification really (last webserver i configured for somebody was a Hewlett Packard DL360 with redundant disks, fans etc.

To server web pages at home, you either need an http server like IIS, Apache or Xitami or similar to run on your Windows, or you need to dedicate a machine to do it (Windows/Linux etc). You also need to know about security, port forwarding, DMZ, and lots more.

For users who are unsure of the fundamentals, I highly recommend actualy signing up to a webhost instead - try webdrive, webfarm, orcon, kiwiwebhost, or try a google search.

There are many webhosts that specialise (or at least do really well) with certain types of web content - what kind of site do you want to host?







muppet
2568 posts

Uber Geek

Trusted

  #100338 16-Dec-2007 22:52
Send private message

Your home computer can easily become a webserver. A webserver is just a piece of software running a computer that listens for "web requests" and answers them.

Having said that, the major differences are:

1) A webserver usually has a proper dedicated Internet connection. That includes a fixed IP address. With most ADSL, your IP address changes when you reconnect. That makes DNS hard.

2) A webserver usually runs a dedicated Server operating system, not Windows XP or Vista. Something like Windows Server 2003, A Linux Distribution or FreeBSD.

3) A webserver usually has different hardware. A minimal graphics card, very fast hard disks and lots of memory.


You can make your home computer a webserver by download some webserver software. I know of many different webservers. The more common free ones are

Apache (quite complex but this is one of the most popular)
Microsoft IIS
Lighttpd - A good, small, fast webserver.

Of those, ISS is the most user friendly, it lets you "point and click" to configure the webserver. Both Apache and Lighttpd require text file editing.

How you GET ISS I don't know, I think maybe you have to buy it? I'm sure other people with more windows experience can give some pointers on other, free, easy to configure web server software.



freitasm
BDFL - Memuneh
79270 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#100340 16-Dec-2007 23:04
Send private message

IIS is part of Windows XP and Vista. The difference between IIS on Windows XP/Vista and Windows Server is that on these editions you can only have one domain, while on Windows Server you can have multiple domains, served up based on the HTTP header request.

Open Control Panel, Add/Remove, Windows Applications and you will find the option to install IIS. It may ask for the CD to install the software or just install directly if the software is on HDD (most OEM are like this).




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


chakkaradeep
799 posts

Ultimate Geek

Trusted

  #100347 17-Dec-2007 01:04
Send private message

The other alternate option is using WAMP (Windows Apache MySQL PHP) in your Windows machine instead of IIS. IIS becomes a bit complicated when you want to use PHP, MySQL along with it. And on the other hand, if you are using WAMP, it becomes complicated to use ASP.NET applications, lol. So, you should really come down to what you want and then choose the proper webserver for you.

I have used SpikeSource's WAMP stack and I can recommend that to anyone Wink




Regards,
Chaks

Desktop : Intel Quad Core Q9400 2.66GHz - 8GB RAM - 500 GB + 500 GB HDD - NVidia GeForce 9800GT - LG246WH Flatron Display - Windows Server 2008 R2 Enterprise with Hyper-V
Virtual Machine : Powered by Hyper-V and VMWare Workstation
Laptop: HP dv7-3004TX Entertainment Notebook PC | HP Touchsmart tx2 1119au - Windows 7 Ultimate x64
Mac: iMac 21.5" Snow Leopard
Mobile : iPhone 3GS

kiwis

832 posts

Ultimate Geek


  #101685 24-Dec-2007 16:46
Send private message

Okay so if I install IIS then my home computer can become a webserver.. I just need to give another person my IP address and they can access some part of my hard drive? is this on the right track? how does it find the right location on my hard drive...


freitasm
BDFL - Memuneh
79270 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #101695 24-Dec-2007 17:55
Send private message

Correct. Also make sure your router is forwarding port 80 to your PC correctly.

You configure IIS in the Control Panel | Administration Tools. If you are not running a server OS then you can only have one domain defined - you can create folders for that domain pointing out to other folders on your PC.

Note that if you do this everyone on the Internet will be able to see your files on those specified folders, unless you assign a username and password for those folders.

Incorrectly done this can cause your PC to be quickly taken by malicious software and people. Be warned.




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
kiwis

832 posts

Ultimate Geek


  #101704 24-Dec-2007 20:02
Send private message

Hmm so once installed it's on for ever untill i uninstall it? or is there a way of turning this on and off?

freitasm
BDFL - Memuneh
79270 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#101709 24-Dec-2007 20:30
Send private message

You can start and stop the Web Publishing Service but by default it will be always running. You can change its configuration to Disabled, Manual or Automatic.




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


kiwis

832 posts

Ultimate Geek


  #102080 28-Dec-2007 16:27
Send private message

Okay I have this working and I can see it on my own machine however when I try from work it does not work... the IP address didn't change or anything... what's wrong?

ajobbins
5052 posts

Uber Geek

Trusted

  #102082 28-Dec-2007 16:38
Send private message

Firstly, make sure that you have correctly forwarded port 80 from your router to the PC hosting your website.

Secondly, make sure you are trying to connect to the WAN IP address assigned to you by your ISP rather than your internal network IP. If you don't know the IP your ISP has given you go to www.whatismyip.com and it will tell you.

kiwis

832 posts

Ultimate Geek


  #102085 28-Dec-2007 17:13
Send private message

Yip got my IP right but how do i direct to port 80??

freitasm
BDFL - Memuneh
79270 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#102104 28-Dec-2007 19:04
Send private message




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


kiwis

832 posts

Ultimate Geek


  #102183 29-Dec-2007 13:44
Send private message

This is my router... so what is it i'm forwarding???

http://www.portforward.com/english/routers/port_forwarding/3com/3CRWDR101A-75/3CRWDR101A-75index.htm

freitasm
BDFL - Memuneh
79270 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#102186 29-Dec-2007 14:17
Send private message

You have to forward port 80 to your computer. You will need to know your computer's IP Address and enter this in the router following the instructions.




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


 1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.