So I have everything setup and working, however, when I try accessing web packages such as phpMyAdmin etc using my domain name I run into an issue with the self signed SSL certificate being used over my SSL on my domain, therefore, I get an error:
Your connection is not private
You cannot visit domain.com right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later.
However, if I just use the server IP it work by using the default self signed SSL.
I would ideally want to use my domain name with my signed SSL, but don’t wish to change the 22222 config in sites-available unless I have to incase someone accesses the web packages using the IP.