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: Create site from command prompt.  (Read 2607 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.
Create site from command prompt.
« on: January 25, 2014, 10:50:34 am »
Hello,

Creating site from the IIS control panel is very easy. Have you every try to create site from the command prompt ? No! Alright, here is an example!

Open Command prompt as a Administrator and switch to the : Windows\System32\inetsrv directory.

======================>>>

C:\Windows\System32\inetsrv>appcmd.exe add site /name:test /physicalPath:c:\test /bindings:http/*:80:www.tes.com

======================>>>

This command will create a new site called "test" with document root and domain name will be www.tes.com.

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!