Through the UI:

ARTIFACTORY: How can I change the existing base URL of Artifactory

AuthorFullName__c
Nir Shervi
articleNumber
000005606
ft:sourceType
Salesforce
FirstPublishedDate
2023-03-09T08:44:11Z
lastModifiedDate
2023-03-09
VersionNumber
3
Navigate to Admin → Configuration → General Configuration → General settings → change Custom Base URL to a new URL.