Report this

What is the reason for this report?

Cannot access my LAMP via the domain.name

Posted on February 21, 2022

Cannot access my LAMP via the domain.name



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,

Do you get any specific errors when you visit the domain name?

In case you’ve made a DNS change just recently, keep in mind that in some cases it might take up to 24-48 hours for the DNS to propagate over the Globe before you could see the new DNS records.

In case that the DNS has already propagated, I could suggest checking your Apache error logs next:

tail -100 /var/log/apache2/error.log

Let me know how it goes!

Best,

Bobby

Hi @BarryEverettCoral,

Can you please provide a little bit more information on the matter?

Can you post your Apache2 Domain config to see if you’ve configured everything properly there? Additionally, have you enabled your Domain’s config to actually work? Is your domain pointed to your Droplet’s IP?

Additionally, I’ll recommend checking the following tutorial on how to configure your Domain’s apache2 config:

https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-20-04

Hello there,

I would like to add that we have an article on How To Troubleshoot Common Apache Errors which you can check here

https://www.digitalocean.com/community/tutorials/how-to-troubleshoot-common-apache-errors

Hope that this helps!

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.