SMTP, Nameserver and Primary Domain questions!

Ryan

Verified User
Joined
Jun 28, 2003
Messages
44
Location
USA
I will have you know that I debated for several minutes as to whether this deserved 3 seperate threads or one thread. While the 3 questions are on varrying topics, I figured someone would kill me if I made them read 3 seperate threads. :D

1) I swear this was discussed before but I can't seem to find a thread with any information other than SMTP is disabled by default. How do I go about enabling SMTP?

2) In the past, I have had 2 sets of nameservers on my server for client use. 1 set for direct web hosting clients based off the company (ns1,ns2.little-hill.net) and a second set for resellers who couldn't afford/didn't need their own private nameservers to use for their clients (ns1,ns2.directns.net). What I would like to do, is allow any reseller to use the ns1,ns2.directns.net nameservers but I can't seem to figure out how to do this without assigning the ips ns1 and ns2 are on to them. I want to be able to have multiple resellers use these second nameservers but I can't seem to figure out how... help, please? (If this all makes no sense, please tell me :eek:)

3) For whatever reason, the primary domain (for the admin account) is set to the server name (citation.little-hill.net). I would like to change this primary domain (not add additional names, but change the primary domain). I don't really need the server name setup for www access and seeing as the primary domain for admin is what shows up on the main server ip, I would like to change it. So, how do I change the primary domain for the admin user?

Thats all.... for now :D
 
Hello,

1) SMTP is enabled by default, you just have to make sure that you have smtp authentication enabled.

2) aliased nameservers can be created by adding 2 A records in the ns record of the domain you wish to have the ns's for. Just point ns1 and ns2 of the new ns's to the ip's of the main nameservers. Then create 2 NS records for the domain's that use them, pointing them to the new ns servers. This is doing it manually, as DirectAdmin does not yet have the feature to add virtual aliased ns's.

3) The only way to change the name of a domain through DirectAdmin is to delete it then create a new one. The server name should not be created in DirectAdmin or this will mess up the email accounts for the server. See:
http://www.directadmin.com/forum/showthread.php?s=&threadid=128&highlight=/etc/virtual/domains

If you want to use the server name for webhosting you'll have to look inside /etc/httpd/conf/httpd.conf and change the 2 virtualhost directives near the bottom of the file to meet your needs.

John
 
Ryan said:

2) In the past, I have had 2 sets of nameservers on my server for client use. 1 set for direct web hosting clients based off the company (ns1,ns2.little-hill.net) and a second set for resellers who couldn't afford/didn't need their own private nameservers to use for their clients (ns1,ns2.directns.net). What I would like to do, is allow any reseller to use the ns1,ns2.directns.net nameservers but I can't seem to figure out how to do this without assigning the ips ns1 and ns2 are on to them. I want to be able to have multiple resellers use these second nameservers but I can't seem to figure out how... help, please? (If this all makes no sense, please tell me :eek:)

http://www.directadmin.com/forum/showthread.php?s=&threadid=76

That will do the job you need to do i think :) ,if it doesn't then go to your domain registar and add host records nsx / nsx .directns.net linking to your servers master nameservers IPs.

Hope this helps you
Chris
 
Back
Top