Quick Answer: How Can I Tell What Webserver Is on Linux?
Contents

If your webserver runs on standard port see “netstat -tulpen |grep 80”. It should tell you which service is running. Now you can check the configs, you’ll find them normally in /etc/servicename, for example: apache configs are likely to find in /etc/apache2/. There you’ll get hints where the files are located.

How do I find out what web server a site is using?

Go to and type in the site name in the upper left input field that says, “What’s that site running?”. Netcraft polls websites over time and records server types and other info such as uptime. Sometimes the server type won’t show up even if Netcraft knows some info about the site.

How do I find out what webserver is running on Ubuntu?

Apache HTTP web server

  1. For Ubuntu: # service apache2 status.
  2. For CentOS: # /etc/init.d/httpd status.
  3. For Ubuntu: # service apache2 restart.
  4. For CentOS: # /etc/init.d/httpd restart.
  5. You can use mysqladmin command to find out whether mysql is running or not.
Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest