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...
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.
Must Read
How do I find out what webserver is running on Ubuntu?
Apache HTTP web server
- For Ubuntu: # service apache2 status.
- For CentOS: # /etc/init.d/httpd status.
- For Ubuntu: # service apache2 restart.
- For CentOS: # /etc/init.d/httpd restart.
- You can use mysqladmin command to find out whether mysql is running or not.