+ Post New Thread
Results 1 to 11 of 11
Windows Server 2008 Thread, Creating IIS sites for all domain users using home directories in Technical; Hi, We have several thousand domain users, whose home directories are all stored on a central file share. I'd like ...
  1. #1

    Join Date
    Jun 2009
    Posts
    24
    Thank Post
    0
    Thanked 7 Times in 4 Posts
    Rep Power
    12

    Creating IIS sites for all domain users using home directories

    Hi,

    We have several thousand domain users, whose home directories are all stored on a central file share. I'd like to create webspace for them using IIS, quickly and easily, using a standard folder structure.

    e.g. d:\users\username\ftpFiles becomes http://servername/username

    Or something similar. Ease and quickness of implementation is better than tidyness. Any suggestions apprecaited. I haven't even *looked* at IIS since 2002, so this might be trivially easy, so excuse me not reading the manual first

  2. #2
    danrhodes's Avatar
    Join Date
    Sep 2008
    Location
    Wath Upon Dearne
    Posts
    1,513
    Thank Post
    157
    Thanked 181 Times in 150 Posts
    Rep Power
    67
    Open up IIS and drill down to the "Default Website" folder.

    Right click and select properties

    http://www.petri.co.il/images/ssl.gif

    On the Home Directory tab enter the root location of the users home directories, for example d:\users\%USERNAME%

    http://www.bram.us/wordpress/wp-cont...-directory.gif

    Then if you navigate to http://fileserver1/%USERNAME% you will be presented with a directory view of your home folder.

    D

  3. #3

    Join Date
    Jun 2009
    Posts
    24
    Thank Post
    0
    Thanked 7 Times in 4 Posts
    Rep Power
    12
    That will work once, but not for multiples. I need to create webspace for all our students, quickly. Unless I've missed something.

    I may just use Apache with LDAP authentication instead: http://httpd.apache.org/docs/2.0/howto/public_html.html
    Last edited by thedarxide; 26th March 2010 at 08:41 AM.

  4. #4
    danrhodes's Avatar
    Join Date
    Sep 2008
    Location
    Wath Upon Dearne
    Posts
    1,513
    Thank Post
    157
    Thanked 181 Times in 150 Posts
    Rep Power
    67
    Why wouldn't it work for multiples? Should do I'd say.

    D

  5. #5
    gibbo_ap's Avatar
    Join Date
    Nov 2007
    Location
    Staffs, UK
    Posts
    937
    Thank Post
    233
    Thanked 81 Times in 64 Posts
    Rep Power
    36
    Quote Originally Posted by danrhodes View Post
    Why wouldn't it work for multiples? Should do I'd say.

    D
    it would be a manual job tho wouldnt it? your cant just set it to create the webspace automatically for all users? as far as i know... if im wrong id be interested too.

  6. #6
    danrhodes's Avatar
    Join Date
    Sep 2008
    Location
    Wath Upon Dearne
    Posts
    1,513
    Thank Post
    157
    Thanked 181 Times in 150 Posts
    Rep Power
    67
    Ahh I get you now!

    Just export a user list from AD and create all the folders using mkdir it shouldn't be too difficult to write a quick batch program to do that should it!

    1. Export your usernames

    2. Use Excel to put 1 and 1 together

    In column A
    MKDIR D:\HTTP_ROOT\Users\

    In column B
    User1

    In column C
    =Concatenate(A1,B1)

    Coulmn D you should get
    MKDIR D:\HTTP_ROOT\Users\User1

    Drag column D down and you should get:

    MKDIR D:\HTTP_ROOT\Users\User1
    MKDIR D:\HTTP_ROOT\Users\User2
    MKDIR D:\HTTP_ROOT\Users\User3
    MKDIR D:\HTTP_ROOT\Users\User4
    MKDIR D:\HTTP_ROOT\Users\User5

    Easy!
    Last edited by danrhodes; 26th March 2010 at 10:02 AM.

  7. #7

    Join Date
    Jun 2009
    Posts
    24
    Thank Post
    0
    Thanked 7 Times in 4 Posts
    Rep Power
    12
    Yeah, but then I'm not using the home directories am I? This is my problem... Apache does it nice and simply, I assumed IIS would.

  8. #8
    danrhodes's Avatar
    Join Date
    Sep 2008
    Location
    Wath Upon Dearne
    Posts
    1,513
    Thank Post
    157
    Thanked 181 Times in 150 Posts
    Rep Power
    67
    As I said earlier, if you want to use their home directories then just redirect the Home Folder of your default website to the root of all users home folders, this way you will be able to have Http://fileserver1/Username

    D

  9. #9
    danrhodes's Avatar
    Join Date
    Sep 2008
    Location
    Wath Upon Dearne
    Posts
    1,513
    Thank Post
    157
    Thanked 181 Times in 150 Posts
    Rep Power
    67
    How have you got on with this, is the issue sorted?

  10. #10

    Join Date
    Jun 2009
    Posts
    24
    Thank Post
    0
    Thanked 7 Times in 4 Posts
    Rep Power
    12
    I've not done it yet. Your last response won't be suitable as it makes the whole directory web enabled, or creates further burden of setting appropriate permissions. I'll use Apache I think, and use the options in the link I found above.

  11. #11
    danrhodes's Avatar
    Join Date
    Sep 2008
    Location
    Wath Upon Dearne
    Posts
    1,513
    Thank Post
    157
    Thanked 181 Times in 150 Posts
    Rep Power
    67
    Quote Originally Posted by thedarxide View Post
    I've not done it yet. Your last response won't be suitable as it makes the whole directory web enabled, or creates further burden of setting appropriate permissions. I'll use Apache I think, and use the options in the link I found above.
    That's cool as long as you get the result you we're after, it doesn't matter how you get there

SHARE:
+ Post New Thread

Similar Threads

  1. No Home Directories with Windows 7
    By markman in forum Windows 7
    Replies: 8
    Last Post: 8th December 2010, 10:52 AM
  2. Move Home Directories
    By Willott in forum Scripts
    Replies: 3
    Last Post: 25th March 2010, 09:32 PM
  3. Creating Home Folder.. and getting it to map for users
    By dgrams in forum How do you do....it?
    Replies: 16
    Last Post: 26th February 2010, 05:15 PM
  4. Moving Users Home Directories to a file server - RM
    By LorenzosEar in forum Wireless Networks
    Replies: 0
    Last Post: 9th July 2009, 04:21 PM
  5. Replies: 9
    Last Post: 16th June 2006, 09:28 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •