configure DNS - need help

Discussion in 'Installation/Configuration' started by soroush zendedel, Dec 20, 2018.

Tags:
  1. soroush zendedel

    soroush zendedel New Member

    hi, hope you do well

    I have these :
    1- Debian 8.8
    2- ISPconfig3.1
    3- IP address for my vps : 198.1*3.1*2.1**
    4- A domain name like : E****e.ir
    5- I registered my IP address to my domain name in cloudflare with two ns
    6- I created a site in ISPconfig and get it that domain name E****e.ir
    7- Now when i enter my domain name it's entering to Welcome page and works fine for that site.
    8- I didn't have any change in DNS part of ISPConfig and it's empty

    Now I want to add a new site, I don't know what should I do in DNS part of ISPconfig,
    What should I do in DNS part?
    How can I get a domain name to my new sites?

    I don't have any idea about configure DNS and creating a dns server for myself and have my nameserver of my own,
    and what should i do with my new sites.

    I will be thankful if you help me.
    ---------------------------
    root@server1:~# cat htf_report.txt

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.1.13


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 5.6.39-0+deb8u1
    [INFO] php-cgi (used for cgi php in default vhost!) is version 5.6.39-0+deb8u1

    ##### PORT CHECK #####


    ##### MAIL SERVER CHECK #####


    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Apache 2 (PID 1640)
    [INFO] I found the following mail server(s):
    Postfix (PID 1123)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 450)
    [INFO] I found the following imap server(s):
    Unknown process (init) (PID 1)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 1028)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:995 (450/dovecot)
    [localhost]:10023 (710/postgrey.pid)
    [localhost]:10024 (1228/amavisd-new)
    [localhost]:10025 (1123/master)
    [localhost]:10026 (1228/amavisd-new)
    [localhost]:10027 (1123/master)
    [anywhere]:587 (1123/master)
    [localhost]:11211 (432/memcached)
    [anywhere]:110 (450/dovecot)
    [anywhere]:143 (1/init)
    [anywhere]:111 (396/rpcbind)
    [anywhere]:465 (1123/master)
    [anywhere]:21 (1028/pure-ftpd)
    ***.***.***.***:53 (424/named)
    [localhost]:53 (424/named)
    [anywhere]:22 (534/sshd)
    [anywhere]:35478 (405/rpc.statd)
    [anywhere]:25 (1123/master)
    [localhost]:953 (424/named)
    [localhost]:6010 (546/0)
    [anywhere]:993 (1/init)
    *:*:*:*::*:995 (450/dovecot)
    *:*:*:*::*:41412 (405/rpc.statd)
    *:*:*:*::*:10023 (710/postgrey.pid)
    *:*:*:*::*:10024 (1228/amavisd-new)
    *:*:*:*::*:10026 (1228/amavisd-new)
    *:*:*:*::*:3306 (716/mysqld)
    *:*:*:*::*:587 (1123/master)
    [localhost]10 (450/dovecot)
    [localhost]43 (1/init)
    [localhost]11 (396/rpcbind)
    *:*:*:*::*:8080 (1640/apache2)
    *:*:*:*::*:80 (1640/apache2)
    *:*:*:*::*:8081 (1640/apache2)
    *:*:*:*::*:465 (1123/master)
    *:*:*:*::*:21 (1028/pure-ftpd)
    *:*:*:*::*:53 (424/named)
    *:*:*:*::*:22 (534/sshd)
    *:*:*:*::*:25 (1123/master)
    *:*:*:*::*:953 (424/named)
    *:*:*:*::*:6010 (546/0)
    *:*:*:*::*:443 (1640/apache2)
    *:*:*:*::*:993 (1/init)




    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    fail2ban-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25
    fail2ban-dovecot-pop3imap tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993
    fail2ban-pureftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21
    fail2ban-ssh tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain fail2ban-dovecot-pop3imap (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain fail2ban-postfix-sasl (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain fail2ban-pureftpd (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain fail2ban-ssh (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0
    ----------------------------------------
     
  2. soroush zendedel

    soroush zendedel New Member

    and i forgot mentioned, should i get name servers somewhere else like cloudflareor namecheam or somewhere else?
    i want to have my nameservers like these:
    ns1.E****e.ir
    ns2.E****e.ir
    how can i have them?
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  4. soroush zendedel

    soroush zendedel New Member

    in tutorial we have:
    The IP addresses used in this tuturial is class C and local addresses, should I use local addresses like them in my name service settings?
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Use the IP-number your server host has.
     
  6. soroush zendedel

    soroush zendedel New Member

    my server have just one IP : 198.1*3.1*2.1**
    in the tutorial there is 4 IP used, how is that?
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    There are three IP-numbers since there are three hosts: one web server and two name servers.
     
  8. soroush zendedel

    soroush zendedel New Member

    i have just one server so one IP address, can i use it for all of them?
     
  9. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Read the tutorial. Then read it again.
    If you still have questions that are not answered in the tutorial, feel free to ask.
     

Share This Page