Compatible with Sitecore 8-10, all versions.
Once installed, edit Sitecore.Feature.PublishedPageUrl.config.
Change the url value of the default RootUrl item, and add sites and languages as needed.
This config can be added to you solution with Roles used to set values for each environment such as QA, UAT, etc.
Other values can be edited in the settings area should you want to change them.
See: https://www.sitecorefundamentals.com/published-page-url-module