I have been following the process to get my domain setup with a SSL certificate, following the guides here: https://docs.digitalocean.com/support/how-do-i-install-an-ssl-certificate-on-a-droplet/ https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-22-04
I have a Virtual Host setup through apache, have setup my config block per the guide with my domain: “margotwolfe.dev” and enabled the config file. Apache is able to serve the domain when pinging (reads back the correct IP address of the server) but is inaccessible via “http://margotwolfe.dev” or “http://www.margotwolfe.dev”
I have Type A DNS records setup through the DigitalOcean control panel, and UFW through the CLI for firewall. Unsure if that is causing my complications or not.
Any and all help is appreciated.
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!
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.
Heya,
Check Your Apache VirtualHost Configuration.
Open the conf file for your domain, possible
sudo nano /etc/apache2/sites-available/margotwolfe.conf
or just go to the
/etc/apache2/sites-available/
folder see what files you have inside. It most probably going to be the one. Open it.You need to have
in the VirtualHost block. If you don’t add your domain to the ServerName and ServerAlias as shown before, save the file and restart Apache.
Hi Margot,
The site seems to be loading as expected now. Is it still not working for you?
I did notice that the www version (
www.margotwolfe.dev
) is not secured by SSL. You’ll need to re-run Certbot to include both the www and non-www versions:After that, restart Apache:
Let me know if you need any more help!
- Bobbu
Heya, @margotwolfe
The site is loading fine on my end. I would assume there was a DNS propagation or browser’s cache that could have also caused the issue for you.
Regards