I'm totally new to this web development stuff. So I see things like "localhost" all the time and ask myself: What's that?
I feel to know what a "host" actually is. Something that executes something. So my mac is the host for everything that runs on it. So "localhost" is actually just my mac? Can I have also other hosts? like "otherhost" or "betterhost"?
So when I write in my browser: http://localhost:80/mysite/index.php, this "localhost" thing tells the browser to look on my machine for that stuff rather than online?
Maybe someone can clear this up a little bit :-)