As @WolfyUK already mentioned, you may need to run a command from the inetsrv directory.
64 bit:
%windir%\system32\inetsrv\appcmd.exe list site
32 bit:
%windir%\syswow64\inetsrv\appcmd.exe list site
The list site command will list all sites, but you can also:
List of individual sites by name:
...\appcmd.exe list site /name:"<site_name>"
List the individual site by meta-identifier (site identifier No.):
...\appcmd.exe list site /id:<site_number>
source share