Question

Someone guide me in setting up Let's Encrypt in additional site in same Nginx VPS?

Hi!

My one site radha.org.br is fine, with Certificate working. I intend to make an additional domain also https. Someone so kind to guide me into this?

I just completed a tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04 and set all up for this new site with success! The only thing is that this new site is actually online in another server. I am preparing everything to bring it to my VPS in DO. I can’t point it’s domain to DO yet. I want to prepare everything so that i can either redo or migrate it to DO.

Thanks a lot for any help or suggestion!!!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I did it @jtittle !!

Thank you!!

@jtittle , hey

The command has been given:

letsencrypt certonly -d yourdomain.com -d www.yourdomain.com

In the end of the ‘trackback’ there is an error:

IOError: [Errno 13] Permission denied: '/var/log/letsencrypt/letsencrypt.log'

Thank you so much for helping!

I am excited to see this working!

In gratitude!!

Hey, @jtittle

In this portion in the default file:

location ~ /.well-known {
                allow all;
        }

In the arun block file i have:

# location ~ /.well-known {
        #        allow all;
        #}

I´ll uncomment these lines, right?