Set up Let's Encrypt before or after adding my domains?

Posted June 2, 2018 2.2k views
ApacheLet's EncryptUbuntu 18.04

I’m setting up my server on Ubuntu 18.04 and Apache 2. I’m at the point where I’m setting up PHPMyadmin and the DO guide suggests setting up Let’s Encrypt before setting PHPMyAdmin. I’m going to add my domains to my server after setting up PHPmyAdmin. Do I setup Let’s Encrypt before setting up PHPMyadmin or set up Let’s Encrypt after all my sites have been added to my server?


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.

Submit an Answer
1 answer


In order for you to set up an Let’s Encrypt SSL for your domains, the domains need to be pointing to the server. So essentially you need your A record pointing to the server IP in order for Let’s Encrypt to be able to validate your domain name and issue a certificate for that domain.

So having that in mind, you would need to set up your domains first and then issue the Let’s Encrypt SSL certificate.