How to configure Virtual Directories in IIS 8 on Windows server 2012

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • A virtual directory is the name of the directory pointing to the path that we specify in IIS and map the physical directory on a local or remote server.
    See: How to install and configure dns in windows server 2012
    • How to install and con...

ความคิดเห็น • 26

  • @prototype8861
    @prototype8861 3 ปีที่แล้ว

    Why the URL is not "app.petercrys.com/downloads" but it shows the virtual directory right away? Can you control access to the virtual directory via in-app login? Not iIIS Authentication but with Routes with Authorize attribute in MVC. Thanks.

  • @SachinSamy
    @SachinSamy  11 ปีที่แล้ว

    Hey Gerry, You need to configure website anonymous account access with the same windows user account that you logged on. Application pool would also need to be configured running with your windows user account as well. If you don't want to use your windows user account, you can create a new account and assign appropriate permission. Let me if you have any problem see ya :)

  • @SachinSamy
    @SachinSamy  11 ปีที่แล้ว

    = HI there, ~(。◕‿◠。)~ = If You Like This Video, Give It a Thumbs Up :)
    = Subscribe to receive email updates when we post new videos ;) ,
    = Share it with your technical IT friends "_" ,
    = If your facing any technical problem or have any suggestion post your comment here or catch me on
    @ Google+: petercrys1,
    @ Gtalk: petercrys1@gmail.com,
    @ Facebook: sachin.samy1,
    @ Twitter: @petercrys
    @ Skype: Sachin.Samy
    :D! :D! :D! :D! :D! :D! :D!

    • @healthify6791
      @healthify6791 7 ปีที่แล้ว

      Hi Sachin, I cannot post any question on skype
      Is ur skype working

  • @ugurdemirel2324
    @ugurdemirel2324 5 ปีที่แล้ว +1

    thank you.you safe my future at work.

  • @antechv8302
    @antechv8302 10 ปีที่แล้ว

    Hi Sachin
    Thanks for this video ;
    I am testing a website; so I dont have public ip address yet.
    can I use local ip address to test virtual directory?
    you have created a download folder for virtual directory thing; my html is simple one do I have to still create download folder and try it?
    as I tried it also but it shows "page can not be displayed" not sure if I am going on correct path

  • @switchontravel
    @switchontravel 5 ปีที่แล้ว

    Hi I'm very excited to do this with my laptop windows 10 if possible. Can it be ?

  • @ziorjacob4347
    @ziorjacob4347 10 ปีที่แล้ว

    Hi Sachin,
    This is probably a very basic question I suppose.
    I have two servers Windows 2012, one is installed and configured with AD,DNS,DHCP with the domain name ziordom.com. The other is install and configure with IIS 8.
    I have created an application using VS 2012 using net 4.5 and I have stored it on wwwroot.
    What I would like to do is I want to have my application to run when I type www.ziordom.com or ziordom.com
    Please advise me what to.
    Thanks a lot.
    Zior

    • @SachinSamy
      @SachinSamy  9 ปีที่แล้ว

      Zior Jacob you have to map domain name with your server ip address second. if you want to create a private domain name check out this video. How to install and configure dns in windows server 2012

  • @erp.schoolaura2823
    @erp.schoolaura2823 ปีที่แล้ว

    Thankyou so much

  • @mohammaddanishsalam2633
    @mohammaddanishsalam2633 9 ปีที่แล้ว

    I have a question, how can I set a default virtual directory in IIS? Suppose, I have created a virtual directory name 'TEST1', now when I specify 'localhost' in browser, I want my TEST1 site will be browsed. Kindly help.

    • @blrm4681
      @blrm4681 7 ปีที่แล้ว

      from best to worst
      1. redirection from root (usign iis)
      2. redirection from root initial page
      3. change the default path of the default iis entry (very bad)
      now if you have access to a dns server you can create your own host and forget about local host.
      The following is something that is easily overlooked, you can start playing with your own mappings using c:\windows\system32\drivers\etc\hosts file.(just make a backup)
      Windows might not let you edit it - just make a backup, then copy the file , put in d drive , edit it and then paste it back. You can google how to use this file (this use to be favorites of hackers)

  • @ademagba
    @ademagba 7 ปีที่แล้ว

    Hi Brother - is there any way you can use apps running on local host for example Jira softwares with this method you have shown ?

  • @bharatiborde8893
    @bharatiborde8893 7 ปีที่แล้ว

    Thank you very much. Worked for me
    And most important thing that we have keep same name of folder and alias

  • @khaliskhalili5983
    @khaliskhalili5983 5 ปีที่แล้ว

    quick question, does it make any different if we use chrome or firefox?

  • @sibgathassan6281
    @sibgathassan6281 2 ปีที่แล้ว

    ooookah

  • @ramprabakaran
    @ramprabakaran 10 ปีที่แล้ว

    Hi sachin.,
    Thank u for sharing this video, I have a query., I have to add a google website to iis., whether its possible to add?? while adding add website it will ask physical path , in that what path has to given for google homepage??
    Thanks in advance..

    • @SachinSamy
      @SachinSamy  9 ปีที่แล้ว

      M Ram Prabakaran Naidu sorry but i am not able to understand what you're trying to say

    • @ramprabakaran
      @ramprabakaran 9 ปีที่แล้ว

      ***** : I need to add a site let say google.com to my iis., so we need to go for IIS then we have give up right click then add website, a dialog box will be displayed., In that there s will option called physical path., what should i have give up ??

    • @SachinSamy
      @SachinSamy  9 ปีที่แล้ว

      M Ram Prabakaran Naidu In physical path you have to give a physical path of the folder in your drive. see this video Host Name : How to configure multiple sites in IIS 8 on Windows Server 2012

    • @ramprabakaran
      @ramprabakaran 9 ปีที่แล้ว

      ***** Thank u so much

  • @rfrancoi
    @rfrancoi 6 ปีที่แล้ว

    Excellent job Sir.

  • @gautamr3098
    @gautamr3098 9 ปีที่แล้ว

    Nice one. Thanks

  • @gasletel
    @gasletel 10 ปีที่แล้ว

    Thank you....very...muuuuuuch

    • @SachinSamy
      @SachinSamy  10 ปีที่แล้ว

      Gaston Baladi Your welcome :)