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

I wonder is it possible to automatically create add-on domains (www.mydomain.com/first, www.mydomain.com/second...)? I know it can be done in cPanel, but I'd like to have a program that creates add-on domains based on the user input.

Tnx, Stjepan

share|improve this question

1 Answer 1

In the examples you list, "first" and "second" aren't add-on domains or sub-domains, they are simply directories. So any script or program that can create directories in your document root would be able to do the job.

share|improve this answer
    
That's good. So, I can create separate websites in each of those directories and they will be independent of each other? Tnx, Stjepan –  user41386 Apr 24 '10 at 13:03
    
@histerius: Yes, but it depends on what you mean by independent. –  Dennis Williamson Apr 24 '10 at 14:08

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.