Sometime we want to know what type of webserver we use. Apache or NGINX?
Maybe you want to install something on your server and you must know which one type of webserver running on your server. If you cannot determine it, you will get a problem after install software on your server.
Today I have a simple tutorial for you on how to check whether Apache or NGINX running on your server.
First of all, what 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 web hosting providers using Apache in their server. I do not know why. But in my opinion, because Apache has been around since April 1995 compared to NGINX, October 2004.
How to Check Apache or Nginx Running On Server?
There are three method how you can determine.
Method #1 Connect Server via SSH
How to connect SSH?
For tutorial how to use SSH, please refer my tutorial previously. Very simple and easy to use it.
When you connect your server using SSH, you will noticed like this.
So, this mean your server using Apache.
Method #2 Use Whois
The second method is, you can use Whois system where it can detect what type of server you used.
For using Whois, you can use Domaintools.com. It is very popular to check Whois for the domain names. Just click the link and it will bring you to page like below.
And it will show the result like this for you.
Sometimes, this method not often show why server type on your server. So, you need to try another method.
Method #3 Ask Hosting Provider
Think out of the box.
Simply, ask your hosting provider.
They will provide all of information about your hosting.
Conclusion
In this tutorial, you have learned how to check what type of server on your hosting. So, you can use these methods. If another one not working for you, you can try another method.
If you like this article, then please FOLLOW our Linkedin, Twitter, YouTube, Pinterest, and Facebook. Do not forget to check our services page to upgrade your WordPress. If you find this post has an issue with copyright, outdated, or in error, please contact us to fix it.
Leave a Reply