Navigate to Admin → Configuration → General Configuration → General settings → change Custom Base URL to a new URL.