locked
Website locations RRS feed

  • Question

  • User1617966623 posted

    We currently have all of our sites setup in the C:\Inetpub\wwwroot folder on each of our servers, but are in the process of moving them to a seperate drive on D:  So, basically we're copying C:\Inetpub\wwwroot\*.* to D:\Websites\  Do the folders in Inetpub having any special permissions or relationship to IIS that we need to take into consideration?  I've seen posts about copying the folder structure over exactly as it is on C:, but I'm not sure if there's any benefit to doing so.  Basically to complete the migration, we're hoping to just change the Home Directory in IIS from C:\Inetpub\wwwroot\websitename to D:\Webistes\websitename

    Wednesday, December 16, 2009 12:43 PM

Answers

  • User-1853252149 posted

    Do the folders in Inetpub having any special permissions or relationship to IIS that we need to take into consideration?

    They're just folders.  You can move the sites anywhere.  As for permissions, pay attention to required NTFS permissions on the new locations.

    we're hoping to just change the Home Directory in IIS from C:\Inetpub\wwwroot\websitename to D:\Webistes\websitename

    As long as NTFS permissions are correct, this is all you need to do.

    See www.iis.net for help on IIS.

    Jeff


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 17, 2009 8:54 AM

All replies

  • User-1614481911 posted

    I would leave the same folder structure if I were you, just in case.  You shouldn't need to change anything besided the directory in IIS.

    Wednesday, December 16, 2009 1:56 PM
  • User176332441 posted

    You should set the address of each site in your IIS, you may even need to set the appropriate permisions to the new directory 

    Wednesday, December 16, 2009 3:02 PM
  • User1617966623 posted

    Seems to be working Ok using D:\Websites instead of D:\Inetpub\wwwroot  The only difference that I've noticed, and I'm not sure it would be different if I had used D:\Inetpub\wwwroot\ is that the built in users are not in the permissions window by default.  In other words, if I want to grant write privileges on a folder to the ASPNET user, I have to manually add that user, and then grant the permissions, whereas in the Inetpub\wwwroot folder, the user is there by default.

    Wednesday, December 16, 2009 3:33 PM
  • User-1853252149 posted

    Do the folders in Inetpub having any special permissions or relationship to IIS that we need to take into consideration?

    They're just folders.  You can move the sites anywhere.  As for permissions, pay attention to required NTFS permissions on the new locations.

    we're hoping to just change the Home Directory in IIS from C:\Inetpub\wwwroot\websitename to D:\Webistes\websitename

    As long as NTFS permissions are correct, this is all you need to do.

    See www.iis.net for help on IIS.

    Jeff


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 17, 2009 8:54 AM