Note: This is an administrator-only feature.
When you have opened Organization Settings, stay on the first tab "Details" and click on "Edit" in the "Community URL" area.
A pop-up will then appear for you to edit the current community URL and update it.
Please note that this change triggers an email to all the active users in your account informing the URL change.