|
#1
|
|||
|
|||
|
I'm new to Host Gator and I have a quick question about private name servers.
The domain I setup was morejammin.com and then went to the register and set a private nameserver ns1.morejammin.com and ns2. The domain is working fine with the private name servers. Now when I add another client the nameservers are ns187.websitewelcome.com and 188. So now to change that over to the private nameservers do I edit the dns for that domain and put in the ns1.morejammin.com where the ns187.websitewelcome.com is in the dns edit??? Thanks for any help you can give me on this. |
|
#2
|
||||
|
||||
|
1st you go to the zone file of morejammin.com and change the NS records to ns1.morejammin.com & ns2.morejammin.com, also change the nameserver entry in the SOA to ns1.morejammin.com.
Then in the same zone file add A records for those nameservers, i.e: ns1 14400 IN A 69.93.144.2 & ns2 14400 IN A 69.93.144.3 This you do ONLY in the zone file of morejammin.com! In any other domains you have added go and change the nameserver (NS) entries and the nameserver in the SOA. Then in WHM, go to DNS Functions-> Edit Zone Templates-> standardvirtualftp, edit the template so that it uses 2those 2 nameservers.
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#3
|
|||
|
|||
|
Thank you!
I think I got it, but the edit of the template..... Here is what is in there Code:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 %domain%.
mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
Code:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA ns1.morejammin.com. %rpemail%. (
%serial% ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
%domain%. %nsttl% IN NS ns1.morejammin.com.
%domain%. %nsttl% IN NS ns2.morejammin.com.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 %domain%.
mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
|
|
#4
|
||||
|
||||
|
Quote:
But you could also change the REFRESH value (in SOA) to something like 14400, and EXPIRE to 2000000.
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#5
|
|||
|
|||
|
Thank you so much quietFinn
![]() It is nice to have good people around when you need help understanding something like this. You would think a Host Gator support person would have stepped in an answered this question ![]() Thanks again!
|
|
#6
|
|||
|
|||
|
Hi jakejamm,
Did you get this to work? I did the same thing you did here but mine didn't work. Everytime I added an account it was still using the websitewelcome.com name servers. Any help would be greatly appreciated. |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
|||
|
|||
|
hello,
where can i find IP for my own DNS servers? I was looking all around website, but I am not able to find them. Thank you for advice. vaco |
|
#9
|
|||
|
|||
|
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|