Question

I setup LAMP stack, how do I access my site?

I setup Ubuntu, Apaceh, PHP and MySql following the documentation but can not access my site at 139.59.254.150 What else do I need to do?


Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
October 8, 2020
Accepted Answer

Hello @utsavrathour,

To me, it looks like that either the Apache service is not running or your firewall is blocking the connections.

First check if Apache is running:

systemctl status apache2

If Apache is not running you could start it with:

systemctl start apache2

If Apache is running, check if ufw allows TCP connections on port 80 and 443:

ufw status

If this is the case, you can follow the steps from this article here on how to configure your ufw:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-18-04

For more information, I would recommend checking this article on How to Troubleshoot Common Apache Issues on Linux Server.

Regards, Bobby

The advantage of open source software isn’t just that it’s available for free. A further plus of open source software is, as its name suggest, that every user has access to its development code. This allows users to independently edit and continue developing the software. For experienced users, open software eliminates the need of worrying about support for a particular software being discontinued.

Installing a LAMP server offers more than just high flexibility and low prices: it incorporates robust components that mesh well with one another. LAMP servers enable users to operate both static and dynamic websites. Wikipedia runs on the software MediaWiki, which is just one of many examples of a website that was developed on a LAMP system.