SSL Error

I have recently installed CyberPanel on my Ubuntu 18.04 server.
I am trying to setup an SSL domain. On the server, I run:
curl https://localhost, This gets me the usual cURL ‘no alternative certificate subject matches…’, This is expected. I then run curl https://[domain] from a remote machine (not on the same network as the server) and get ‘No route to host’ from cURL. HTTP works fine. Port 443/tcp is open to IP in the firewall. LiteSpeed also has a listener for port 443 on all IPs

I have no clue why it isn’t opening the port.