Computing.Net > How-tos > Web Development > How to Host your Own Site with Web Cam

How to Host your Own Site with Web Cam

By: Radix-64


Hosting your own site and Web cam is not difficult.

Suggest that you use your desktop PC, rather than a laptop, to be your web hosting server with a high-speed Internet connection (no dial-up).

If your desktop PC doesn't have a built-in Web cam, then you can purchase a Web cam (e.g. Logitech) and install the software from the manufacturer to run it on your computer. Often this software can be downloaded from the Web cam manufacturer's site.

Install a web server app. Suggest Apache software, which is what most servers use.

Load your site files to the public folder. If you have a router, suggest that you configure the forwarding of port 80 from the router to the hosting server.

Check the FTP settings for the Web cam image.

If you have a domain name don't forget to link it to your computer's IP address through your domain registrar's system.

Code the HTML page with your Web cam image to refresh its content automatically with this meta tag in your header section.  For example, if you want to refresh your Web cam every 5 seconds, use:




Don't forget to create an image tag. Here's an example:
This is the Web Cam Picture

Hint: Make sure that the width and height of the image tag doesn't compromise the quality of the image by resizing the Web cam image.


Related Posts

See More