Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Using VB, VBScript, ASP.Net or similar, on a Windows dedicated server, is it possible to create a new hosting account on my server and how challenging is it? With this, is it also possible to add a new domain name and point it at that particular account?

I have an online photo portfolio service, when a user creates a new portfolio, I want my website to create a new hosting account for them and point their domain at it, on-the-fly. At the mo, I have to do it and it's a bore!

Any suggestions, tips, links or plugins gratefully received.

share|improve this question
1  
Note Windows has certain licensing restrictions when you start creating accounts and using Windows technologies to authentication people. This might already be covered, but it is a consideration you should look into before building the system out. If you'll be hosting websites for other people that requires SPLA, and you need to be an MS Partner to get that. There are many more details than I could fit in a comment, contact Microsoft Licensing for all the details. –  Chris S Oct 18 '11 at 19:37
    
thanks Chris, will check in to that –  PaparazzoKid Oct 19 '11 at 2:21

2 Answers 2

up vote 1 down vote accepted

A great reference to account creation scripting would be How to create Active Directory user account with powershell

Powershell will let you access just about anything that's a library call.

share|improve this answer

Everything is possible!

We create apache vhosts by running scripts and passing variables in from a ruby on rails app. You can do a similar workflow from your application. You'll also need some scripting to setup ftp and the like. You'll want to be very careful your process silo's each site from the other for security purposes, in linux this is accomplished using chroot, suexec, and (for us) phpfpm.

share|improve this answer
    
Cool thanks. Well you answered my question (how challenging is it), too challenging for me... –  PaparazzoKid Oct 18 '11 at 18:05
2  
@MartinG perhaps you want to look into Powershell? They are a lot of good scripts around to refernce for that. –  Jeff Ferland Oct 18 '11 at 18:13
    
@Jeff great idea...learn.iis.net/page.aspx/433/… –  iainlbc Oct 18 '11 at 18:16
    
Aagggh, that looks a little more my style of reading, thanks Jeff. I will study this over the next week or so and try and accomplish something. –  PaparazzoKid Oct 18 '11 at 18:18
    
and thanks iainlbc –  PaparazzoKid Oct 18 '11 at 18:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.