Sometimes, we want to know what type of web server we use. Apache or NGINX?
Maybe you want to install something on your server, and you must know which type of webserver is running on your server. If you cannot determine it, you will get a problem after installing software on your server.
Today, I have a simple tutorial for you on how to check whether Apache or NGINX is running on your server.

First of all, what is the differentiation between Apache and NGINX?
The main difference between Apache and NGINX lies in their design architecture. Apache uses a process-driven approach and creates a new thread for each request. Whereas NGINX uses an event-driven architecture to handle multiple requests within one thread.
source: serverguy.com
Based on my experience, almost all web hosting providers use Apache in their servers. I do not know why. But in my opinion, Apache has been around since April 1995 compared to NGINX, October 2004.
How do you check if Apache or Nginx is running on the server?
There are three methods you can use to determine.
Method 1: Connect Server via SSH
How to connect SSH?
For a tutorial on how to use SSH, please refer to my tutorial previously. It is straightforward to use.
When you connect your server using SSH, you will notice this.

So, this means your server is using Apache.
Method 2: Use Whois
The second method is that you can use the Whois system, which can detect what type of server you use.
To use Whois, you can use Domaintools.com. It is very popular to check Whois for domain names. Just click the link, and it will bring you to a page like below.

And it will show you a result like this.

Sometimes, this method does not often show why the server type is on your server. So, you need to try another method.
Method 3: Ask Hosting Provider
Think out of the box.
Ask your hosting provider.
They will provide all of the information about your hosting.
Conclusion
In this tutorial, you have learned how to check the server type on your hosting. So, you can use these methods. You can try another method if another one is not working for you.
Good News: We have an upgrade tutorial for this topic on How to Check the Server Type of Website.
0 Comments