anile8
09-10-2002, 01:05 AM
Hey, my BIND config is working great. I need to add another domain. Do I add another master zone with an NS record pointing to my fully configured 1st master zone?
![]() | View Full Version : Add a domain? anile8 09-10-2002, 01:05 AM Hey, my BIND config is working great. I need to add another domain. Do I add another master zone with an NS record pointing to my fully configured 1st master zone? 2host.com 09-10-2002, 05:25 AM Originally posted by anile8 Hey, my BIND config is working great. I need to add another domain. Do I add another master zone with an NS record pointing to my fully configured 1st master zone? Are you talking about a master and slave addition, or just adding it to one name server? You will definitely need to create a zone file for the domain, and add the entry to the named.conf file as well. You will need to put in whatever correct specifications in the zone file, dependent upon what you are needing or doing. It should be the same basic layout as any other zone. Can you be a little more specific, I don't quite fully understand what you're asking? choon 09-14-2002, 01:44 PM Hi, I think you asked before about the setup for your name servers. Yes, create a new master zone for your new domain via webmin. The process is similiar with the thread/reply I posted to your bind... grrr thread. Just change the domain.com. to your newdomain.com. and keep all the rest the same such as the primary & secondary name servers. Let me know if you have any problem. Hope this help :) Thanks. Kindest regards, Choon choon 09-14-2002, 02:25 PM Hi anile8, The thread I am referring can be found here -> http://www.webhostingtalk.com/showthread.php?s=&threadid=67956 Ok... here we go :) Step 1: Login webmin. Step 2: Go to BIND DNS Server. Step 3: Click on the Create a new master zone link and wait for the page to load fully. This form is for you to add in a new domain zone file to BIND. The form will ask you for the following: Domain name / Network: YourNewDomain.com. (remember the ending dot) Master server: YourPrimaryNameServer.com. (remember the ending dot) (i.e. ns1.yourprimarydomain.com which you have registered at your domain registrar) Email address: dns@yourprimarydomain.com (remember the ending dot) Leave everything else as it is and click on the Create button. After that, you will be directed to the Edit Master Zone for your YourNewDomain.com master zone. Step 4: Click on the Name Server link to add in your secondary name server for your new domain. It will load Add Name Server Record form and it will ask you for the following: Zone Name: YourNewDomain.com. (remember the ending dot) Name Server: YourSecondaryNameServer.com. (remember the ending dot) (i.e. ns2.yourprimarydomain.com which you have registered at your domain registrar) Click on the Create button. After that, you will be directed to Edit Master Zone page for your new domain zone again. Step 5: Click on the Address link. This is important in order for you to point your new domain to one of your assigned IP addresses for your server which is given by your provider/host. The Add Address Record form will ask you the following: Name: YourNewDomain.com. (remember the ending dot) Address: IP Address (i.e. 123.456.789 which is assigned to you by your provider/host.) Click on the Create button and you will again be directed back to Edit Master Zone page for your new domain zone. Step 6: Click on the Mail Server link. This is for your new domain email to be working. The Add Mail Server Record form will ask for the following: Name: YourNewDomain.com. (remember the ending dot) Mail Server: YourNewDomain.com. (remember the ending dot) Priority: 10 (is good enough) Leave everything else as it is and click on the Create button. You will then be directed back to the Edit Master Zone page for your new domain zone again. If you want your site to be reachable with the www in front of your domain or ftp.yournewdomain.com or mail.yourdomain.com... etc... Step 7: Create a Name Alias. Click on the Name Alias link. The Add Name Alias Record form will ask for the following: Name: www.YourNewDomain.com. (remember the ending dot) Real Name: YourNewDomain.com. (remember the ending dot) Leave everything else as it is and click on the Create button. You will then be directed back to the Edit Master Zone page for your new domain zone again. If you need mail.yournewdomain.com, repeat the step above with replacement of www of your new domain name to mail. If you need other prefix or subdomain, just replace the www to whatever you like BUT BE CAREFUL OF THE ENDING DOT. When everything is done, click on the Module Index link on the top left or go to BIND DNS Server main page then scroll all the way down to click on the Restart Named button in order for you to restart your BIND/Named Server. Hope these helps ;) Kindest regards, Choon P.S. Again there's no guarantee whether this will work for you... so... follow at your own risk :D |