Welcome to Nginx message after following letsencrypt DO tutorial

March 23, 2018 1.5k views
Let's Encrypt Django Nginx Ubuntu 16.04

i recently followed the entire tutorial on how to secure nginx with letsencrypt : https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04

but now my website is showing “Welcome to Nginx”



1 Answer

I have the same problem. Can’t figure it out. Any help is appreciated.

  • hey, sorry i should have mentioned the answer to this question when i got it done for me. anyways. here is the solution :

    in => /etc/nginx/sites-available/default
    do not replace your => server_name with “your domain.com” keep it as “under scope” ( _ )

    server_name _;

Have another answer? Share your knowledge.