Nginx started after Ubuntu 18 upgrade

I upgraded to Ubuntu 18 this morning and after that, when I go to my WP site, I see:

===========

Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

blah, blah, blah

===========

We don't use nginx. We use apache.

When I tried to stop nginx it states:

Unit nginx.service could not be found

I just want nginx to go away.

Help??

1 Reply

I can see how this would be frustrating. The first thing I would recommend is ensure that Apache is running on your Linode. I see that you’re Ubuntu but I’ve included commands to cover a few Distros.

Debian & Ubuntu:

sudo service apache2 status

Fedora & CentOS:

sudo service httpd status

Once that is taken care of you can run one of the following sets of commands to remove nginx from your Linode.

Debian & Ubuntu:

sudo service stop nginx
sudo apt-get purge nginx nginx-common

Fedora & CentOS:

sudo service nginx stop
sudo yum remove nginx

Lastly, you can restart Apache to ensure it is running and listening on port 80

Debian & Ubuntu

sudo service apache2 restart

Fedord & CentOS

sudo service httpd restart

If you experience any issues with Apache, I would recommend checking out our Apache Troubleshooting Guide.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct