Report this

What is the reason for this report?

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

Posted on October 8, 2017

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?



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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.