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.

Main Domain problem.
#1
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
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

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:
#3
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
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 - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#5
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
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 - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#7
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
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 - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#9
RE: Main Domain problem.
I get a 403 Forbidden when adding the CNAME for cp.
Reply
Thanks given by:
#10
RE: Main Domain problem.
Sent you a PM.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Primary Domain Directing Me To My Cpanel...How Do I Fix This? franselect 1 5 ,528 07-09-2020, 12:43 AM
Last Post: Jettaman
DNS does not work Bind problem... Greval 17 39 ,130 07-04-2019, 01:50 AM
Last Post: fearworks
Issue accessing/pinging 2nd installed domain Fudnut 9 25 ,551 03-14-2019, 04:33 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 1 Guest(s)