I see some domain registrars provide a url masking service so that a website like this:
can show in the browser as
and if viewing secondary pages of www.somestupidurl.com/page2
it will show as
I reckon this is done with .htaccess but is it and, if so, how?