

One way of doing this would be to use javascript invoked ActiveX (for instance see: )Īfter you've edited the index.html file you should be able to access that index.html from any other computer on the web by typing in your server's IP address. These ports can send out electrical signals to things outside of your computer (like robots and microcontroller), thereby allowing 'home automation'.
Free server software to practice how to#
If you want to work towards home automation you'll need to look into how to code your webpage to access ports on your server (for instance a serial port). You can edit/replace the default index.html file in the folder 'htdocs' which is in your apache folder (wherever you installed it). The default webpage that says "it works" is coded in a file called index.html. Here's an answer I gave to a comment a while ago asking how to change the webpage that pops up when you go to the localhost address.
Free server software to practice install#
See this instructable for how to install xamp once you have puppy linux (or some other linux) working: Here's easy setup videos for puppy linux: Puppy linux can be loaded off a usb jump drive or a CD, so you don't need to uninstall windows, just boot the computer with one of those. If you want to do this on linux instead of windows (more secure, slightly more complicated) the best combination would be puppy linux and xamp for the server software.

I'll give this advice but read elsewhere for more:ġ) best to install this server software on an old computer that you don't use for anything other than as a server.Ģ) best to create a seperate user account in windows with limited system access and install this software in that account. While making your computer into a server will be very quick, you should read through the Apache http server software documentation to learn about how to set it up securely (so that people don't hack into your computer). We'll be using apache: very popular, free, open source server software. This will allow you to host your own website from your computer and will let you to make web pages with 'buttons' allowing you to control things in your home (robots, cameras, etc) from the internet (I'll cover that in future instructables). This covers how to quickly set up your computer (running Windows) as a server.
