This covers how to quickly set up your computer (running Windows) as a server. 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).
We'll be using apache: very popular, free, open source server software.
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). I'll give this advice but read elsewhere for more:
1) best to install this server software on an old computer that you don't use for anything other than as a server.
2) best to create a seperate user account in windows with limited system access and install this software in that account.
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. 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. Here's easy setup videos for puppy linux: http://rhinoweb.us/
See this instructable for how to install xamp once you have puppy linux (or some other linux) working:https://www.instructables.com/id/Make-a-Server-Out-Of-An-Old-PC/