Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wonder is it possible to automatically create add-on domains (, 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

closed as unclear what you're asking by HopelessN00b, HBruijn Feb 24 at 19:45

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

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

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