View Full Version : Default DNS Setup
philmcdonnell
03-22-2006, 10:01 AM
Hello,
Is there a way to change the default DNS setup when you create a new account?
I would like to add an 'A' record for webmail.domain.com so that I can tell users to go to webmail.domain.com to access their email. Is this possible? If so how do I change the setup to do this?
Lastly how can I redirect all calls to webmail.domain.com to go to webmail.domain.com/squirrelmail?
Thanks,
Phil
jmstacey
03-22-2006, 11:16 AM
You can edit the dns records on the dns management page...
I think this modification has been covered before. Have you tried searching?
philmcdonnell
03-22-2006, 11:25 AM
Originally posted by jmstacey
You can edit the dns records on the dns management page...
I think this modification has been covered before. Have you tried searching?
Yes I do search before posting...
However I am not looking to edit the records as I know how to do that I am looking to have DA setup a new account with default DNS settings and I want to know how to change that.
Thanks,
Phil
Aspegic
03-22-2006, 02:39 PM
I believe what you're looking for can be found in /usr/local/directadmin/data/templates
I don't think that only editing the dns_a.conf template will be enough. I guess you will also need to edit the virtual_host template to tell apache what webpage to serve based on the 'webmail' subdomain name.
nobaloney
03-23-2006, 05:23 PM
Dont forget to move any template you're changing from the templates directory to the templates/custom directory. Change them in the custom directory.
Jeff
philmcdonnell
03-23-2006, 07:32 PM
Originally posted by jlasman
Dont forget to move any template you're changing from the templates directory to the templates/custom directory. Change them in the custom directory.
Jeff
Do I move them or copy them? If I update the custom does that take priority over the templates directory?
Thanks,
Phil
nobaloney
03-23-2006, 08:02 PM
I should have typed copy though it really shouldn't matter.
DirectAdmin looks in the custom directory first and in the templates directory only if the file doesn't exist in the tempates directory.
Jeff
Aspegic
03-24-2006, 07:26 AM
There is also a README file in the templates folder that explains this (and also give some additional information).
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.