Changing your site name and changing your URL are two different things.
In order to change your site name you can navigate to Settings -> General Settings
Changing the URL is done also from Settings but then selecting Domain Settings:
Everything you need to know about this can be found here.
Things are a bit different when considering your apps and if you plan to change branding/naming for them, you will need to email firstname.lastname@example.org for more information.