Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to list sites from Command Prompt!  (Read 2409 times)

0 Members and 1 Guest are viewing this topic.

Chetan Singh

  • Full Member
  • ***
  • Posts: 123
  • Karma: +2/-0
  • Bienvenido a las Tecnologías de la Admin-Ahead.
    • Admin-Ahead Server Technologies.
How to list sites from Command Prompt!
« on: January 25, 2014, 11:12:07 am »
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,
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!