By zitachile
Hello people. Hope you can help me, my name is Camilo, from CL.
As I was following through the tutorial (https://www.digitalocean.com/community/tutorials/como-proteger-apache-con-let-s-encrypt-en-ubuntu-18-04-es), I tried to install SSL certificate for my domain.
I did every step that is pointed in the tutorial, but at the end, I opened my domain and the main page shows me “Welcome to zitaparts.cl! Success! The zitaparts.cl virtual host is working!” (obviously I wrote that creating virtual host). You can check this --> https://zitaparts.cl
But, the main issue here is I can’t access to my wordpress site for my business, and less important, I don’t know if I did properly the install of SSL Certificate.
Just want to revert everything or put the right code to show my wordpress instead host virtual
Best !
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!
Hello, @zitachile
At the moment the site is secured with a Let’s Encrypt SSL certificate. What you need to do is to update the document root for the domain name in the virtual host and point it to the WordPress installation directory.
You can open the virtual hosts file with any text editor and edit the DocumentRoot path to match the directory of the WordPress install.
- nano /etc/apache2/sites-available/your_domain.conf
And then alter this line:
DocumentRoot /var/www/your_domain
once this is done you can save the file and then check the Apache configuration for any syntax errors:
- sudo apache2ctl configtest
You should see the following output:
Syntax OK
Restart Apache to implement your changes:
- sudo systemctl restart apache2
Your domain should now be loading the WordPress installation when visited.
Hope that this helps! Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.