Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Apache seems to be running, but default page is not showing at public IP
I have basically followed these recommend tutorials:
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)
Active: active (running) since Sun 2017-08-13 21:36:48 UTC; 1h 14min ago
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
├─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: Stopped LSB: Apache2 web server.
Aug 13 21:36:46 lamp-512mb-nyc3-01 systemd: Starting LSB: Apache2 web server.
Aug 13 21:36:46 lamp-512mb-nyc3-01 apache2: * Starting Apache httpd web
Aug 13 21:36:48 lamp-512mb-nyc3-01 apache2: *
Aug 13 21:36:48 lamp-512mb-nyc3-01 systemd: Started LSB: Apache2 web server.
Aug 13 22:48:29 lamp-512mb-nyc3-01 systemd: Started LSB: Apache2 web server.
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?
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.×