Question

How do I get the LAMP Stack one-click app to use my domain?

I added a LAMP stack one-click app droplet on Digital Ocean, directed my A record on Gandi to point “@” and “www” to the IP and ran Let’s Encrypt to get SSL certificated for www.pellux.net and pellux.net (my domain). www.pellux.net takes me to the default LAMP stack page (although it doesn’t auto-redirect as I specificed in the LE setup, for some reason) but “pellux.net” gives the error “pellux.net’s server DNS address could not be found.” What can I do to fix both the auto-redirect to https not working and the pellux.net URL not working?

Subscribe
Share

Submit an 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.

Hello,

I would recommend adding an Apache Vhost for your domain name and then running the LE installation, here’s a step by step guide on how to do that:

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04

Hope that this helps! Regards, Bobby