MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: johnmalay on 2019-10-09, 04:32:01

Title: Guide On Setting DNS Template
Post by: johnmalay on 2019-10-09, 04:32:01
I'm new to kloxo mr control panel. can someone guide me to setup dns template and domain?
i've been searching for guide on this forum and don't see any example i can refer.

situation :
1. own domain at namecheap

2. own vps with kloxo installed

How to point my domain to my hosting?

Please help me
Title: Re: Guide On Setting DNS Template
Post by: MRatWork on 2019-10-09, 06:59:21
Please read https://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-set-dns/
Title: Re: Guide On Setting DNS Template
Post by: johnmalay on 2019-10-09, 07:10:25
thanks MR. but how do i find
IP for registrar dns?
is there any tools to find?
Title: Re: Guide On Setting DNS Template
Post by: MRatWork on 2019-10-09, 08:19:02
In registrar dns panel, just assign 'child nameserver' (aka 'A record' for nameserver) where 'ns1.yourdom.com' to your VPS IP and 'ns2.yourdom.com' to your VPS IP. And then add 'nameserver' (aka 'NS record') with assign to 'ns1.yourdom.com' and 'ns2.yourdom.com'.

And then, in Kloxo-MR panel, create 'default' dns template. Use this 'default' dns template for create your 'yourdom.com'
Title: Re: Guide On Setting DNS Template
Post by: johnmalay on 2019-10-09, 10:22:14
already set but the domain still can't point to host ip  :'(

dns setup on namecheap : https://prnt.sc/pgtc0z

dns template on host : https://prnt.sc/pgtcnz
Title: Re: Guide On Setting DNS Template
Post by: MRatWork on 2019-10-09, 12:08:15
Check your domain using 'https://intodns.com' to know what's wrong about your domain.
Title: Re: Guide On Setting DNS Template
Post by: johnmalay on 2019-10-09, 12:13:51
WWW A Record   Your www.azizi.tech A record is:
www.azizi.tech  [103.125.xxx.xxx]
Pass   IPs are public   OK. All of your WWW IPs appear to be public IPs.
Pass   WWW CNAME   OK. No CNAME
Processed in 0.167 seconds.

I think the record is fine. But the domain still not pointing. Is the template correct?

© Hosterion -
Title: Re: Guide On Setting DNS Template
Post by: MRatWork on 2019-10-09, 12:18:36
The problem is your setting in domain provider. With intodns, your domain still using 'dns1.registrar-servers.com' and 'dns2.registrar-servers.com' (default from your domain provider).

If your setting is corrent, ns for your domain are 'ns1.azizi.tech' and 'ns2.azizi.tech'.
Title: Re: Guide On Setting DNS Template
Post by: MRatWork on 2019-10-09, 13:27:30
Read https://www.namecheap.com/support/knowledgebase/article.aspx/768/10/how-do-i-register-personal-nameservers-for-my-domain
Title: Re: Guide On Setting DNS Template
Post by: johnmalay on 2019-10-09, 13:48:13
i recently contact namecheap support and i have done updating the name server with their guideline. mybe i need to wait few hour or tomorrow before new dns fully up. i will check my dns with intodns website and update in this post. thanks MR for helping me. i really appreciate your help
Title: Re: Guide On Setting DNS Template
Post by: johnmalay on 2019-10-10, 13:30:19
Hi MR. my dns is now pointing to my domain but the problem now when I access the domain it is not showing index.html files. I got error ERR_CONNECTION_REFUSED. If I type ip of the server also got no respond
Title: Re: Guide On Setting DNS Template
Post by: johnmalay on 2019-10-10, 13:49:21
It ok seems Hiawata services did not start. I start manually and the problem solve.
Title: Re: Guide On Setting DNS Template
Post by: MRatWork on 2019-10-11, 04:05:36
Inform here your 'sh /script/sysinfo'.
Title: Re: Guide On Setting DNS Template
Post by: johnmalay on 2019-10-11, 04:26:04
i'm using nginx because hiawatha fail to start on boot.

here the sysinfo

A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2019070501
   - Web: hiawatha-10.9.0-f.2.mr.el7.x86_64
   - PHP: php56s - 5.6.40-1.ius.el7 (fpm mode)
B. Plateform:
   - OS: CentOS Linux release 7.7.1908 (Core) x86_64
   - Hostname: sg-server.azizi.tech
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el7.centos.x86_64
   2. PHP:
      - Installed:
        - Branch: php73-cli-7.3.10-1.el7.ius.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.9.0-f.2.mr.el7.x86_64
     - Lighttpd: lighttpd-1.4.54-1.el7.x86_64
     - Nginx: nginx-1.17.4-1.el7.ngx.x86_64
     - Apache: httpd-2.4.6-90.el7.centos.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.9-1.mr.el7.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el7.x86_64
     - NSD: nsd-4.2.2-1.el7.x86_64
     - PowerDNS: pdns-4.1.8-1.el7.MIND.x86_64
     - Yadifa: yadifa-2.3.9-1.el7.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el7.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - spam: bogofilter-1.2.3-6.el7.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.49-1.mr.el7.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.7-1.mr.noarch
D. Memory:
              total        used        free      shared  buff/cache   available
Mem:            984         254         137          19         591         535
Swap:             0           0           0
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        25G  3.3G   20G  14% /
Title: Re: Guide On Setting DNS Template
Post by: MRatWork on 2019-10-11, 04:31:51
For restart all services, use 'sh /script/restart-all'. For panel itself, use 'sh /script/restart'. For web, use 'sh /script/restart-web'. And for dns, use 'sh /script/restart-dns'.
Title: Re: Guide On Setting DNS Template
Post by: KomSud on 2019-10-14, 15:58:00
Pak Mustafa...ini hasil sh /script/sysinfo yang bapak minta tadi, maaf saya gk bisa buat thread baru pak...domain saya tetap tidak bisa diakses pak,

" This site can’t be reachedclassymensoutfit.com refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED "

ini hasil sh /script/sysinfo:

A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2019070501
   - Web: hiawatha-10.9.0-f.2.mr.el7.x86_64
   - PHP: php56s - 5.6.40-1.ius.el7 (fpm mode)
B. Plateform:
   - OS: CentOS Linux release 7.7.1908 (Core) x86_64
   - Hostname: vmi304771.contaboserver.net
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el7.centos.x86_64
   2. PHP:
   
   - Installed:
        - Branch: php56u-cli-5.6.40-1.ius.el7.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.9.0-f.2.mr.el7.x86_64
     - Lighttpd: lighttpd-1.4.54-1.el7.x86_64
     - Nginx: nginx-1.17.4-1.el7.ngx.x86_64
     - Apache: httpd-2.4.6-90.el7.centos.x86_64
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.11.4-9.P2.el7.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el7.x86_64
     - NSD: nsd-4.2.2-1.el7.x86_64
     - PowerDNS: pdns-4.1.8-1.el7.MIND.x86_64
     - Yadifa: yadifa-2.3.9-1.el7.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el7.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - spam: bogofilter-1.2.3-6.el7.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.49-1.mr.el7.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.7-1.mr.noarch
D. Memory:
              total        used        free      shared  buff/cache   available
Mem:           7821         390        6857          56         573        7150
Swap:             0           0           0
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       196G  3.4G  183G   2% /