2

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.

1
  • 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, 2011 at 19:37

2 Answers 2

1

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.

2

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.

4
  • Cool thanks. Well you answered my question (how challenging is it), too challenging for me... Oct 18, 2011 at 18:05
  • 2
    @MartinG perhaps you want to look into Powershell? They are a lot of good scripts around to refernce for that. Oct 18, 2011 at 18:13
  • @Jeff great idea...learn.iis.net/page.aspx/433/…
    – iainlbc
    Oct 18, 2011 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. Oct 18, 2011 at 18:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .