Securing website without domain name

February 25, 2017 1.7k views
Apache Security LAMP Stack Ubuntu 16.04


Yesterday I installed the LAMP stack successfully with this tutorial At the end of the tutorial they say that you should secure Apache with Let's Encrypt but that only works if you have a domain and i don't have one.

So my question is if there are other ways to secure Apache if you only use the public ip to connect to my website?

I have set up a basic ufw firewall.

Another question I have is: Is it safe to share the public ip so people can look at my site? I have looked at this question but would like a better confirmation that it is safe to share it.

P.S. I don't really need a domain since I will mainly use the site as portfolio site to show to employers and for school.

1 Answer

As I mentioned in that question, there is no risk. You can use a self-signed cert if you want SSL.

Have another answer? Share your knowledge.