Hi. I'm building a website and would like to serve it by turning my desktop into a web server. This is just for development (it will go on a real server once it's done). I usually just use a local development configuration of apache, but I want to be able to show the site to people remotely.

I read all the docs I need and I think I could figure out how to serve the site from my desktop, but I'm wondering how vulnerable my computer will be to security risks. Is this a bad idea? Do I still run a risk if the server is not running (because the ports are open?)?