Finally set up https for this server. It is unfortunate but the main reason why it wasn't working was because I had not forwarded port 443 on the router. Silly me.
However, all is good now. The server is accessible and marginally secure.
Got comments or issues with what I wrote? Please let me know by submitting an issue with the blog title :)