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 ...
25th March 2010, 06:21 PM #1
- Rep Power
Creating IIS sites for all domain users using home directories
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
25th March 2010, 09:04 PM #2
Open up IIS and drill down to the "Default Website" folder.
Right click and select properties
On the Home Directory tab enter the root location of the users home directories, for example d:\users\%USERNAME%
Then if you navigate to http://fileserver1/%USERNAME% you will be presented with a directory view of your home folder.
26th March 2010, 08:32 AM #3
- Rep Power
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.
26th March 2010, 08:45 AM #4
Why wouldn't it work for multiples? Should do I'd say.
26th March 2010, 08:50 AM #5
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.
Originally Posted by danrhodes
26th March 2010, 09:56 AM #6
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
In column B
In column C
Coulmn D you should get
Drag column D down and you should get:
Last edited by danrhodes; 26th March 2010 at 10:02 AM.
26th March 2010, 10:17 AM #7
- Rep Power
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.
26th March 2010, 10:44 AM #8
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
29th March 2010, 12:04 PM #9
How have you got on with this, is the issue sorted?
30th March 2010, 08:59 AM #10
- Rep Power
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.
30th March 2010, 09:09 AM #11
That's cool as long as you get the result you we're after, it doesn't matter how you get there
Originally Posted by thedarxide
By markman in forum Windows 7
Last Post: 8th December 2010, 10:52 AM
By Willott in forum Scripts
Last Post: 25th March 2010, 09:32 PM
By dgrams in forum How do you do....it?
Last Post: 26th February 2010, 05:15 PM
By LorenzosEar in forum Wireless Networks
Last Post: 9th July 2009, 04:21 PM
By luke213 in forum Windows
Last Post: 16th June 2006, 09:28 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)