This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Jump to the post that solved this thread.
Main Domain problem.
#1
[Solved] Main Domain problem.
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.


       

I also use my own nameservers for the rest of my domains.
Reply
Thanks given by:
#2
[Solved] RE: Main Domain problem.
Have you setup the DNS records inside Sentora too?
=------=
My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons
=------=


Like my work? Consider [Image: btn_donate_SM.gif]
Reply
Thanks given by:
#3
[Solved] RE: Main Domain problem.
I created them yes do i need to copy what i have via Namecheap over to the Sentora DNS too?
Reply
Thanks given by:
#4
[Solved] RE: Main Domain problem.
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.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#5
[Solved] RE: Main Domain problem.
(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.
Reply
Thanks given by:
#6
[Solved] RE: Main Domain problem.
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"
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#7
[Solved] RE: Main Domain problem.
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.
Reply
Thanks given by:
#8
[Solved] RE: Main Domain problem.
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 @
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#9
[Solved] RE: Main Domain problem.
I get a 403 Forbidden when adding the CNAME for cp.
Reply
Thanks given by:
#10
[Solved] RE: Main Domain problem.
Sent you a PM.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
Jump to the post that solved this thread.


Possibly Related Threads...
Thread Author Replies Views Last Post
Nameservers on own domain mares992 12 522 08-02-2017, 05:49 AM
Last Post: mares992
Main Domain Name not resolving zanger123 1 118 06-28-2017, 07:48 PM
Last Post: Me.B
domain name not resolved after couple hours janrayn 1 297 05-06-2017, 05:09 PM
Last Post: aroaminggeek

Forum Jump:


Users browsing this thread: 2 Guest(s)