How to check if server is Litespeed or Apache?

parthjuneja

Active member
Banned User
Oct 19, 2020
193
53
28
Pluto
I ordered litespeed web server hosting but under site health it shows Apache server. In cpanel also I see apache handlers. Are there any other ways to check about the webserver. When I talked about it from support they said it is showing because of cloudflare.
 

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
23,637
26,969
120
make a file on your website root folder with following content:

PHP:
<?php
phpinfo();
?>

access the url from a web browser: https://your.domain/yourfile.php

If on Server API section says LiteSpeed then you're running on a LiteSpeed server.
 

parthjuneja

Active member
Banned User
Oct 19, 2020
193
53
28
Pluto
make a file on your website root folder with following content:

PHP:
<?php
phpinfo();
?>

access the url from a web browser: https://your.domain/yourfile.php

If on Server API section says LiteSpeed then you're running on a LiteSpeed server.
thanks will check right now
 

parthjuneja

Active member
Banned User
Oct 19, 2020
193
53
28
Pluto
make a file on your website root folder with following content:

PHP:
<?php
phpinfo();
?>

access the url from a web browser: https://your.domain/yourfile.php

If on Server API section says LiteSpeed then you're running on a LiteSpeed server.
It shows CGI/fast CGi
 

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
23,637
26,969
120
If you don't want to make it public PM me with website address and file name
 

phukit

Well-known member
Trusted Uploader
Sep 30, 2018
190
320
63
use wappalyzer plugin for firefox or chrome.

it will tell you what server and more your website is using.
 
  • Like
Reactions: parthjuneja

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
23,637
26,969
120
Probably yes. It is possible that hey have both apache and litespeed running but your website is served by apache
 

MrSam_1

Well-known member
Administrative
Trusted Seller
Dec 1, 2018
23,637
26,969
120
If you have SSH access to your server then you can further check by issuing these 2 commands from CLI:

ps -ef | grep litespeed

If appear a running process with pid then issue the next one:

netstat -ntpl | grep ':80'

It will tell you which web server is listening on 80 port

Example: for one of my servers the result is ('Ive underlined and bold the web server name)
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 405000/nginx: maste
tcp6 0 0 :::80 :::* LISTEN 405000/nginx: maste
 
  • Like
Reactions: parthjuneja

parthjuneja

Active member
Banned User
Oct 19, 2020
193
53
28
Pluto
If you have SSH access to your server then you can further check by issuing these 2 commands from CLI:

ps -ef | grep litespeed

If appear a running process with pid then issue the next one:

netstat -ntpl | grep ':80'

It will tell you which web server is listening on 80 port

Example: for one of my servers the result is ('Ive underlined and bold the web server name)
Is there any easy way for a newbie like me, like by using IP address?
 

phukit

Well-known member
Trusted Uploader
Sep 30, 2018
190
320
63
if using wordpress under site health it will give you server information as well.

it could also be using litespeed with apache handlers as well.
 
  • Like
Reactions: parthjuneja

wpninja

Member
Apr 3, 2019
40
17
8
Not related to this service, but how do I find if the server uses HDD, SSD or Nvme type storage?
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu