Ubuntu :: How To Host Website On Own Machine

Advertisement

I've heard that all one needs to do to host a website is to install apache2 and then create my own webpages in /var/www. Like I could start out putting a file "index.html" in /var/www and it would show up on the web.If this is true, what would my website address be on the web?