Your post is missing a bit of info, and contain a lot of info it does not need. Can you please remove all the boilerplate not needed to higlight your question, and be a bit more precise? You will recieve much better help if you do
It seems like you want to know how to use a domain name and not IP as you have up until this point? In that case, you need to add it as a trusted domain in config.php at least. Have you done that? If IP worked before that, you should be good to go, if you have ssl working
Do you have a ssl cert that will work with this domain?