Report this

What is the reason for this report?

Apache seems to be running, but default page is not showing at public IP

Posted on August 13, 2017

Hello, I have basically followed these recommend tutorials: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04 https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-16-04

I requested a droplet that already had LAMP installed. When I get to this part: You will see the default Ubuntu 16.04 Apache web page, which is there for informational and testing purposes. It should look something like this: <img file>

Instead when I go to the public IP for my pages I get this message: Please log into your droplet via SSH to configure your LAMP installation.

So I checked to see if the ports were open and the process was running:

root@lamp-512mb-nyc3-01:~# sudo systemctl status apache2 ● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: active (running) since Sun 2017-08-13 21:36:48 UTC; 1h 14min ago Docs: man:systemd-sysv-generator(8) Process: 23428 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCES Process: 20547 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SU Process: 23455 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCC Tasks: 7 Memory: 16.7M CPU: 618ms CGroup: /system.slice/apache2.service ├─23472 /usr/sbin/apache2 -k start ├─23475 /usr/sbin/apache2 -k start ├─23476 /usr/sbin/apache2 -k start ├─23477 /usr/sbin/apache2 -k start ├─23478 /usr/sbin/apache2 -k start ├─23479 /usr/sbin/apache2 -k start └─23482 /usr/sbin/apache2 -k start

Aug 13 21:36:46 lamp-512mb-nyc3-01 systemd[1]: Stopped LSB: Apache2 web server. Aug 13 21:36:46 lamp-512mb-nyc3-01 systemd[1]: Starting LSB: Apache2 web server. Aug 13 21:36:46 lamp-512mb-nyc3-01 apache2[23455]: * Starting Apache httpd web Aug 13 21:36:48 lamp-512mb-nyc3-01 apache2[23455]: * Aug 13 21:36:48 lamp-512mb-nyc3-01 systemd[1]: Started LSB: Apache2 web server. Aug 13 22:48:29 lamp-512mb-nyc3-01 systemd[1]: Started LSB: Apache2 web server.

root@lamp-512mb-nyc3-01:~# I have to hit CTRL + C to get out of this process.

The info.php page is working correctly, maybe I just won’t get the configuration page like the example because Apache was preinstalled?

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.