Hello,
With the help of this article you will be able to list all the sites.
========================>>>
List all sites hosted in IIS:
------------------------------------
C:\Windows\System32\inetsrv>appcmd list site
SITE "Default Web Site" (id:1,bindings:ftp/*:21:,net.tcp/808:*,net.pipe/*,net.ms
mq/localhost,msmq.formatname/localhost,http/*:80:,state:Started)
------------------------------
List only one particular one site:
------------------------------
C:\Windows\System32\inetsrv>appcmd list site "Default Web Site"
SITE "Default Web Site" (id:1,bindings:ftp/*:21:,net.tcp/808:*,net.pipe/*,net.ms
mq/localhost,msmq.formatname/localhost,http/*:80:,state:Started)
========================>>>
Thank you,