Hello.
My Sentora installation is setup to point to cp.domain.tld but if I go to just domain.tld it loads the sentora panel as well. I want to be able to still create a website via domain.tld and have cp.domain.tld for the panel only.
I don't know if my Registers DNS Records are incorrect but there must be a way to do this.
[
attachment=496][
attachment=497]
I also use my own nameservers for the rest of my domains.
Have you setup the DNS records inside Sentora too?
I created them yes do i need to copy what i have via Namecheap over to the Sentora DNS too?
You shouldn't need to if you are going to use namecheap's DNS, but I always do both for my main domain that everything is on. So, basically my GoDaddy and Sentora DNS are the same for the domain I use as my main hosting domain. All other domains use my name servers and Sentora's DNS.
(11-11-2016, 02:24 PM)TGates Wrote: [ -> ]You shouldn't need to if you are going to use namecheap's DNS, but I always do both for my main domain that everything is on. So, basically my GoDaddy and Sentora DNS are the same for the domain I use as my main hosting domain. All other domains use my name servers and Sentora's DNS.
Right I have my maindomain.tld using the records i posted above in the attachments. Which allows me to use ns1.maindomain.tld and ns2.maindomain.tld nameservers for my other domains. I just want to make sure that the Namecheap Records are correct since it seems that maindomain.tld directs to my Sentora Panel which I only want cp.maindomain.tld to use not maindomain.tld.
I have another thread open in the Emails section which i think has something to do with my problem since its reading my mail server as cp.maindomain.tld instead of mail.maindomain.tld. But if thats not the case then just ignore this part lol.
Just to make sure, you did add mydomain.tld inside the panel (Domain Manager) and created the default DNS for it (DNS Manager).
If so, double check your bind zone for mydomain.tld to make sure it is correct.
/etc/sentora/configs/bind/zones/mydomain.tld.txt
Mine looks like this: (Yeah, a lot of sub domains, I know)
Code:
$TTL 10800
@ IN SOA ns1.mydomain.tld. postmaster.mydomain.tld. (
2016102402 ;serial
21600 ;refresh after 6 hours
3600 ;retry after 1 hour
2419200 ;expire after 1 week
86400 ) ;minimum TTL of 1 day
@ 3600 IN A xxx.xxx.xxx.xxx
mail 86400 IN A xxx.xxx.xxx.xxx
ns1 172800 IN A xxx.xxx.xxx.xxx
ns2 172800 IN A xxx.xxx.xxx.xxx
ns3 172800 IN A xxx.xxx.xxx.xxx
mysql 3600 IN CNAME @
www 3600 IN CNAME @
ftp 3600 IN CNAME @
shaker 3600 IN CNAME @
test 3600 IN CNAME @
projects 3600 IN CNAME @
partners 3600 IN CNAME @
zppy-repo 3600 IN CNAME @
websvn 3600 IN CNAME @
svn 3600 IN CNAME @
cp 3600 IN CNAME @
mirrors 3600 IN CNAME @
sen-packs 3600 IN CNAME @
@ 86400 IN MX 10 mail.mydomain.tld.
@ 172800 IN NS ns1.mydomain.tld.
@ 172800 IN NS ns2.mydomain.tld.
@ 172800 IN NS ns3.mydomain.tld.
@ 2419200 IN SPF "v=spf1 a mx ptr ip4:xxx.xxx.xxx.xxx mx:mail.mydomain.tld include:smtp.comcast.net -all"
@ 2419200 IN TXT "v=spf1 a mx ptr ip4:xxx.xxx.xxx.xxx mx:mail.mydomain.tld include:smtp.comcast.net -all"
@ 2419200 IN TXT "v=spf1 a mx ptr ip4:xxx.xxx.xxx.xxx mx:mail.mydomain.tld include:smtp.comcast.net -all"
So youre using cnames for subdomains? I thought CNAME overwrote A Records?
Edit: when i use CNAMES it makes cp.domain.tld and domain.tld are 403 Forbidden.
Ok, in Sentora DNS manager and my GoDaddy (All records match):
these are my A records:
*, @, mail, ns1, ns2, ns3 IN A xxx.xxx.xxx.xxx
CNAME Records:
cp, sen-packs, zppy-repo, mirrors, etc. IN CNAME @
I get a 403 Forbidden when adding the CNAME for cp.