Can anyone tell me how to mask a URL so it only shows the domain name please?

i.e. Normally, if you goto webpage1, the browser address bar shows http://location/page1name.htm, if you click onto a link, the address bar would read http://location/page2name.htm etc., but I've seen a couple of sites in the past which only show http://location in the address bar when you navigate anywhere throughout the site.

Is this an IIS or HTML code trick I can use on my site?
Thanks