Questions about DA

BlueNoteWeb

Verified User
Joined
Nov 4, 2004
Messages
52
Location
Denton, TX
I've recently come over from a Plesk server, and I have some questions about DA. Hopefully someone here can answer them.

In Plesk, each domain has its own httpd.include file for settings specific to that domain. Whenever you make a change in the panel, that httpd.include file is overwritten. Thus, you can't make changes there and expect them to stay. However, you can create an additional file called vhost.conf and it's automatically included when the httpd.include file is parsed. I see that DA creates an httpd.conf file for each domain. Is this file overwritten when changes are made within the panel? Where can I specify configuration settings that won't be overwritten?

Does DA overwrite the httpd.conf file at any time? If I make changes in there can I expect them to stay?

I'd like to change the default directory structure a bit. I want private_html to be a symlink to public_html by default. Can I make this change, and if so where?

Along those lines, can I change the default httpd.conf? I'd like to add an alias for webmail.domain.com to lead to domain.com/squirrelmail. I can do that individually for each domain through the panel, but that's a pain. I'd really like it to be the default.

Anything else I should watch out for specifically? Anyone with Plesk experience who can offer some advice on the differences and similarities?

I'm loving this panel so far, and you can't beat the price...once I figure this all out I'm sure I'll be really happy with it.
 
Last edited:
Yes, user httpd.conf files are overwritten. You can make changes that will not be overwritten from DirectAdmin. On the admin level, there is a link to httpd configurations, there you can modify each users configuration.
The main httpd.conf located in /etc/httpd/conf is Never overwritten.

The only way to make private_html a symlink to public_html would be to add the necassary commands domain_create_post.sh which is run after a domain is created. For more information on this and other related pre and post executed scripts, see the readme file located in /usr/local/directadmin/scripts/custom

I've never used Pleask so can't help you there ;)
 
I've noticed from my poking around tonight that the httpd.conf file includes each user's httpd.conf at the bottom. That's very handy. I also found the admin screen to add to the user's httpd.conf, also very handy.

Where can I find that domain_create_post.sh script? The readme file is useful, but I can't find the script to look at or edit it.
 
By default they do not exist. Just create the file you need, enter the commands to run, and the make sure it is given sufficient execution permissions by directadmin.
 
Back
Top