I have registered my domain with adstec (a registrar): mileswork.com I have an internet connection to my office with a Public IP (Static IP) : 202.157.203.30 I have installed ISPConfig to managed: 1. TYPO3 Hosting 2. Email Hosting 3. Name Server The reason of this is because I would like to park my clients domain name in my own Name Server. My server is behind a DLINK router which is doing the NAT and a simple Firewall. Hostname is: suse1 How do I go about doing this? I've subscribed to a Managed DNS services with Adstec and have created the following: A record : *************mileswork.com --> 202.157.203.30 CNAME record : *www ******************************suse1 NS record :************suse1.mileswork.com Have also created a Child Name Server : suse1.mileswork.com --> 202.157.203.30 Is this correct? If not how do I go about it? I can ping to mileswork.com but not www.mileswork.com or suse1.mileswork.com. dig output: toshlinux:~ # dig mileswork.com ; <<>> DiG 9.3.1 <<>> mileswork.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34647 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mileswork.com. IN A ;; ANSWER SECTION: mileswork.com. 37390 IN A 202.157.203.30 ;; Query time: 24 msec ;; SERVER: 202.188.1.5#53(202.188.1.5) ;; WHEN: Thu Feb 23 08:51:10 2006 ;; MSG SIZE rcvd: 47 toshlinux:~ # dig www.mileswork.com ; <<>> DiG 9.3.1 <<>> www.mileswork.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14799 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.mileswork.com. IN A ;; ANSWER SECTION: www.mileswork.com. 171820 IN CNAME www.mileswork.com. ;; Query time: 25 msec ;; SERVER: 202.188.1.5#53(202.188.1.5) ;; WHEN: Thu Feb 23 08:51:56 2006 ;; MSG SIZE rcvd: 49 toshlinux:~ # dig suse1.mileswork.com ; <<>> DiG 9.3.1 <<>> suse1.mileswork.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58216 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;suse1.mileswork.com. IN A ;; ANSWER SECTION: suse1.mileswork.com. 172800 IN A 202.157.203.30 ;; Query time: 119 msec ;; SERVER: 202.188.1.5#53(202.188.1.5) ;; WHEN: Thu Feb 23 08:52:19 2006 ;; MSG SIZE rcvd: 53 toshlinux:~ # dig aliztrade.com ; <<>> DiG 9.3.1 <<>> aliztrade.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26630 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;aliztrade.com. IN A ;; ANSWER SECTION: aliztrade.com. 25205 IN A 192.168.0.98 ;; Query time: 1053 msec ;; SERVER: 202.188.1.5#53(202.188.1.5) ;; WHEN: Thu Feb 23 08:53:13 2006 ;; MSG SIZE rcvd: 47 toshlinux:~ # dig www.aliztrade.com ; <<>> DiG 9.3.1 <<>> www.aliztrade.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 32336 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.aliztrade.com. IN A ;; Query time: 5027 msec ;; SERVER: 202.188.1.5#53(202.188.1.5) ;; WHEN: Thu Feb 23 08:53:46 2006 ;; MSG SIZE rcvd: 35 toshlinux:~ # ping aliztrade.com PING aliztrade.com (192.168.0.98) 56(84) bytes of data. From 192.168.0.101: icmp_seq=1 Destination Host Unreachable From 192.168.0.101 icmp_seq=1 Destination Host Unreachable From 192.168.0.101 icmp_seq=2 Destination Host Unreachable From 192.168.0.101 icmp_seq=3 Destination Host Unreachable From 192.168.0.101 icmp_seq=5 Destination Host Unreachable From 192.168.0.101 icmp_seq=6 Destination Host Unreachable From 192.168.0.101 icmp_seq=7 Destination Host Unreachable toshlinux:~ # ping www.aliztrade.com PING www.aliztrade.com (192.168.0.98) 56(84) bytes of data. From 192.168.0.101: icmp_seq=1 Destination Host Unreachable From 192.168.0.101 icmp_seq=1 Destination Host Unreachable From 192.168.0.101 icmp_seq=2 Destination Host Unreachable From 192.168.0.101 icmp_seq=3 Destination Host Unreachable Do I have to create the A record: mileswork.com www.mileswork.com suse1.mileswork.com instead of just mileswork.com and the CNAME record: www.mileswork.com suse1.mileswork.com Thanks Jaf Faizal
You let www.mileswork.com point to itself. That cannot work. You can let it point to mileswork.com or simply create an A record for www.mileswork.com. You use an internal IP address for aliztrade.com. This means that noone from outside your network can reach that domain. Is this what you want? You must create an A record for www.aliztrade.com - it doesn't exist.
My ISPConfig server is behind the router with an IP address of: 192.168.0.98 and 192.168.0.97. Following your sugestion I have made following changes in ISPConfig-Management-Server-Settings-Server: Server Name : Server 1 Hostname : suse1 Domain : mileswork.com IP Address : 202.157.203.30 (or should I enter 192.168.0.98) Netmask : 255.255.255.252 IP List: 192.168.0.98, 192.168.0.97 In ISPConfig-Management-Server-Settings-DNS: Default NS1: suse1.mileswork.com Default NS2: suse1.mileswork.com When I create site in ISPConfig, I select the IP adrress value to 202.157.203.30 and Co-Domain has no entry other that the first entry showing: IP->202.157.203.30 Hostname-> {BLANK} Domain->mileswork.com Is this correct? In My Managed DNS server with my registrar (ADSTEC), I have removed all CNAME records. Instead created the folowing A RECORD: mileswork.com -> 202.157.203.30 www.mileswork.com -> 202.157.203.30 suse1.mileswork.com -> 202.157.203.30 An also MX RECORD: www.mileswork.com Is this right? My dig output: ; <<>> DiG 9.3.1 <<>> mileswork.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25583 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mileswork.com. IN A ;; ANSWER SECTION: mileswork.com. 23899 IN A 202.157.203.30 ;; Query time: 56 msec ;; SERVER: 202.157.192.17#53(202.157.192.17) ;; WHEN: Thu Feb 23 19:11:25 2006 ;; MSG SIZE rcvd: 47 ; <<>> DiG 9.3.1 <<>> www.mileswork.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25647 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.mileswork.com. IN A ;; ANSWER SECTION: www.mileswork.com. 26666 IN A 202.157.203.30 ;; Query time: 52 msec ;; SERVER: 202.157.192.17#53(202.157.192.17) ;; WHEN: Thu Feb 23 19:12:34 2006 ;; MSG SIZE rcvd: 51 ; <<>> DiG 9.3.1 <<>> suse1.mileswork.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17084 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;suse1.mileswork.com. IN A ;; ANSWER SECTION: suse1.mileswork.com. 74882 IN A 202.157.203.30 ;; Query time: 51 msec ;; SERVER: 202.157.192.17#53(202.157.192.17) ;; WHEN: Thu Feb 23 19:13:09 2006 ;; MSG SIZE rcvd: 53 ; <<>> DiG 9.3.1 <<>> ns mileswork.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30338 ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 4 ;; QUESTION SECTION: ;mileswork.com. IN NS ;; ANSWER SECTION: mileswork.com. 73676 IN NS adstec.earth.orderbox-dns.com. mileswork.com. 73676 IN NS adstec.mars.orderbox-dns.com. mileswork.com. 73676 IN NS adstec.mercury.orderbox-dns.com. mileswork.com. 73676 IN NS adstec.venus.orderbox-dns.com. ;; ADDITIONAL SECTION: adstec.earth.orderbox-dns.com. 73676 IN A 67.15.47.188 adstec.mars.orderbox-dns.com. 73676 IN A 66.249.5.25 adstec.mercury.orderbox-dns.com. 73676 IN A 66.135.40.144 adstec.venus.orderbox-dns.com. 73676 IN A 66.249.5.10 ;; Query time: 58 msec ;; SERVER: 202.157.192.17#53(202.157.192.17) ;; WHEN: Thu Feb 23 19:16:39 2006 ;; MSG SIZE rcvd: 217 ; <<>> DiG 9.3.1 <<>> mx mileswork.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41122 ;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;mileswork.com. IN MX ;; AUTHORITY SECTION: mileswork.com. 38400 IN SOA adstec.mercury.orderbox-dns.com. jafnirma.streamyx.com. 2006020317 7200 7200 2419200 38400 ;; Query time: 313 msec ;; SERVER: 202.157.192.17#53(202.157.192.17) ;; WHEN: Thu Feb 23 19:13:53 2006 ;; MSG SIZE rcvd: 113 All the above outputs are done at the ISPConfig server behind the router. I have map all protocol to the ISPConfig server. I am also not able to login into [email protected] using UebiMiau webmail. I am also getting 'ERROR 403-Access Forbidden!' message if typing http://www.mileswork.com in the URL What have I done wrong? Thanks Jaf
It must be: IP Address : 192.168.0.98 IP List: 192.168.0.97 If you forwarded port 80 from your router to 192.168.0.98, it must be: IP->192.168.0.98 Hostname-> www Domain->mileswork.com and then a co-domain with a blank host field is added automatically. In My Managed DNS server with my registrar (ADSTEC), I have removed all CNAME records. Instead created the folowing A RECORD: yes.
You should also create an MX record for mileswork.com (without www) because you want to receive emails for mileswork.com ([email protected]) instead of www.mileswork.com ([email protected]).
I have to create the MX record at my registrar? I thought ISPconfig handle this? BTW, I can now ping: 1. mileswork.com 2. www.mileswork.com 3. suse1.mileswork.com But, ping the following, gives me my local IP 192.168.0.98 1. www.planima.com, planima.com 2. www.zafcotravel.com, zafcotravel.com Why? What should the entry in DNS Manager-DNS Entry be for the above sites? Example, for planima.com DNS Manager-DNS Entry-Domain: Server->Server 1 Domain (SOA) -> planima.com IP Address -> 192.168.0.98 DNS Manager-DNS Entry-Options Nameserver1->suse1.mileswork.com Nameserver2->suse1.mileswork.com DNS Manager-DNS Entry-Records A Record IP Address -> 192.168.0.1 Hostname->www MX Record Mailserver-> planima.com Hostname->{BLANK} is this settings right? Thanks, Jaf Faizal
It depends on what the authoritative name server for your domain is. If it's the ISPConfig server, then you can use ISPConfig's DNS Manager. But mileswork.com is handled by adstec.mercury.orderbox-dns.com so you must create the DNS records there. Because planima.com and www.planima.com point to 192.168.0.98: Code: dig planima.com ; <<>> DiG 9.2.4 <<>> planima.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62579 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;planima.com. IN A ;; ANSWER SECTION: planima.com. 43200 IN A [B][COLOR="Red"]192.168.0.98[/COLOR][/B] ;; Query time: 441 msec ;; SERVER: 145.253.2.75#53(145.253.2.75) ;; WHEN: Fri Feb 24 04:42:17 2006 ;; MSG SIZE rcvd: 45 zafcotravel.com and www.zafcotravel.com don't have A records at all: Code: dig zafcotravel.com ; <<>> DiG 9.2.4 <<>> zafcotravel.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 51399 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: [B][COLOR="Red"];zafcotravel.com. IN A[/COLOR][/B] ;; Query time: 531 msec ;; SERVER: 145.253.2.75#53(145.253.2.75) ;; WHEN: Fri Feb 24 04:42:10 2006 ;; MSG SIZE rcvd: 33 Must be a public IP address. Must be a public IP address.