Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Web Servers»IIS»How to Create Website in IIS on Windows

    How to Create Website in IIS on Windows

    RahulBy RahulApril 28, 20152 Mins ReadUpdated:February 7, 2020

    IIS (Internet Information Services) is the webserver for Windows systems created by Microsoft. This web server is most popular for hosting .net framework based websites. We can also host other programming languages websites by adding their modules and handlers.

    In our previous tutorial, you learned to create a Website, Application Pool, Virtual Directory and Binding via appcmd command-line utility. This article will help you in creating a new website in using IIS manager on a Windows system.

    Step 1 – Start IIS

    Use the windows navigation menu and open IIS on your system. Or you can directly open IIS by typing inetmgr in run window like below.

    start-iis-on-windows

    Step 2 – Add new Website

    In the left side base expand the tree and select the Sites option. Then Right-click on Sites and select Add Website… option like the following image.

    add-website

    This will open a popup to input new website details. Input the following details in pop-up box.

    • Site name: Name of website to be appeared in IIS listing.
    • Application pool: Select an application pool or keep is the default to create new application pool same name as sitename.
    • Physical path: Enter the location of website pages on system.
    • Binding:
      • Type: Select protocol to configure (eg: http or https)
      • IP address: Select ip address from drop list to set dedicated ip for site or keep is the default to use shared ip.
      • Port: Enter port on which site will be accessible for users.
      • Host name: Enter you actual domain name you want to use.
    • Start Website immediately: keep this box checked to start site.

    add-website-details

    Step 3 – Adding Website Alias

    If you want to add website aliases like “www.tecadmin.net”. Open IIS, select your site and click on Bindings. You will get Site binding screen like below

    open-site-binding

    Click on Add button it will open site binding box.

    add-website-alias

    Enter the hostname of your site aliases like www.tecadmin.net, demo.tecadmin.net or stage.tecadmin.net and input other details and click Ok.

    add-site-binding

    Step 4 – Verify Configuration

    To verify configuration you can simply access the site in a web browser. If your domain is not pointed to this server do host file entry and check.

    iis website
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleDebian 8 Jessie Released – What's New ?
    Next Article How to Install Indicator SysMonitor on Ubuntu & Debian

    Related Posts

    How to Install Let’s Encrypt SSL with IIS on Windows Server 2019

    Updated:June 2, 20223 Mins Read

    How to Start and Stop All Sites in IIS

    Updated:March 22, 20201 Min Read

    How to Redirect HTTP to HTTPS in IIS

    Updated:April 1, 20202 Mins Read

    How to Setup Reverse Proxy on IIS with URL-Rewrite

    Updated:July 3, 20182 Mins Read

    How to Enable URL Rewrite in IIS

    Updated:February 27, 20202 Mins Read

    How To Install IIS on Windows 10

    Updated:August 6, 20212 Mins Read

    9 Comments

    1. Concerned Netizen on February 19, 2021 9:08 pm

      This only explains how to host a website in IIS but doesn’t mention how to create a website.

      Reply
    2. miroslav on October 15, 2020 5:18 pm

      Mister Rahul Kumar explanation is very,very,very good ! Thanks

      Reply
    3. jjideas on May 29, 2020 9:33 am

      it does not work with the same port 80

      Reply
    4. Sunrise on September 19, 2019 4:55 am

      I love this post! I read your blog site fairly often, and you are always coming up with some
      great staff. I shared this blog post on my Twitter, and my followers loved it!
      Good luck.

      Reply
    5. latin brides on July 26, 2019 8:30 pm

      Excellent working day! This can be my original remark now and so i just planned to provide a brief shout out and say I undeniably
      savor browsing your posts. Could you propose just about every other websites/webpages/community forums
      that bargain with the same topics? Thanks a lot!

      Reply
    6. Suman on July 26, 2019 7:07 am

      Nice post and good lucking

      Reply
    7. Jay on June 30, 2018 7:02 pm

      This article was really helpful…. I was struggling to learn iis, but this gave me a clear guidance….. Thank you

      Reply
    8. Almin Valyani on October 7, 2017 8:23 am

      Hey, sir,
      Just read your article it’s awesome. I was working on this and trying to do the same but was approaching it in a different way.
      want to know if a web service can also be hosted in the same way?
      or also want to know thatserver monitoring
      is the best way to use this

      Reply
    9. Pritam on July 7, 2015 5:53 am

      Hey Rahul,
      great article. I was working on this and trying to do the same but was approaching it in a wrong way.
      want to know if a web service can also be hosted in the same way?

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • What is CPU? – Definition, Types and Parts
    • What is the /etc/aliases file
    • What is the /etc/nsswitch.conf file in Linux
    • How to Install Ionic Framework on Ubuntu 22.04
    • What is the /etc/hosts file in Linux
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.