How to use WWW in site URL

I want my site URL to be www.something.local, not just something.local – for the purpose of making live-to-local (and vice-versa) search/replace less likely to make a copy-pasta error

Is this possible?