I decided to host a website on Ubunto on port (80:) and everything works perfectly.
After that I decided to put ssl certificate. Everything was ok and the certificate was putted successfully!
When I try to open my website I recieved this error: Unable to connect to the server. But I can ping it ??
What is going on ??
I haven't enabled any firewalls. I have only opened port 80, no port 443.
You have port 443 closed. It needs to be open. Your site doesn't work through HTTPS on its default port 443. Personally, I see the connection between the two.
@Garjoman, in case it wasn't clear from other people's replies, when you access http://a4osot.hopto.org/ the browser automatically connects on port 80 (even though you didn't specify a port number), while when you access https://a4osot.hopto.org/, the browser automatically connects on port 443 (even though you didn't specify a port number).
This different default port number has been provided by Internet standards for decades. I think it dates to 1995 or so, but the oldest authoritative reference I found right away is from 2000.