Hosting my own website?

Not sure if right forum, but I've written up a website in Cloud9's Development environment, for a school project, and I need to host it. I've got my own server, currently running Win7 but i can put 2008 server on it.  How could I go about hosting it on that server and getting the domain registered. Thanks in advance for any help!

Registering a domain is actually very very simple, you just need to find a hosting company. Hostgator.com is very very cheap. Godaddy works but everybody seems to hate it for some reason or another.

 Once you register your domain you can point your domain to your public ip, and open things up in your router. Be warned.....you are exposing your machine to the internet. 

 This is the basic explanation you will have do some googling yourself to get it all tied together, but its not as hard as it looks. 

If you want something simple, yunohost is probably worth looking into.

I use domain.com and you can get a discount with HAK5 promo code. But yes just register the domain there and set the DNS record to point to your public IP, with port 80 and any other ports you need open in your router. Should be fairly straightforward, but make sure the machine has a static internal IP or else it will change when you reboot it and you'll end up pulling your hair out trying to figure out why your port forward isnt working :P

Thanks for the help guys! Ive got the basic idea, and up and running in a VM. Just getting it registered now.

I use 1&1 for my domain.

I've used domain.com and Bluehost for domain and shared hosting and Bluehost is AWESOME. Domain.com is...meh

If you are lucky enough, google is also doing domains, I have one of my domains hosted through domains.google.com. You may need an invite however. My other domain is using namecheap. Google's domain service seems to be incredibly fast

OKAY LET ME SAY I CHANGED MY MIND no one use domain.com because over the last month I've had nothing but trouble out of them and I just canceled and OH LOOK all the problems went away now that I migrated my stuff to Bluehost. (if anyone would like to know more specific stuff just msg me)