1. Use the various keystone help | grep endpoint commands to remove your current endpoints and re-add them with the right URLs.
3. Switch to a text-based TemplatedCatalog in keystone.conf as then the catalog is defined as a plain text file and you'd just update the endpoints just as you would with any other text file and restart Keystone when you're done.