View Full Version : Hi how to configure DNS
martin_rudowicz
19th June 2008, 09:52
Hi i have truble to configure DNS on ISPConfig
I realy dont know how to do it
my domain is test.pl
outside ip 89.228.199.170
server ip 192.168.0.100
....
now klik DNS Manager then on left menu test.pl
Domain
Server - Server 1
Domain (SOA): test.pl
IP Address: 192.168.0.100
Option
Admin Email: dfsdfs@test.pl
Nameserver 1: ns1.test.pl
Nameserver 1: ns2.atomdns.net
Records
A Records
IP-Adresse Hostname
192.168.0.100 www
but did somoene tell how should look else
what i should see on for example
CNAME
Hostname Target
Mailserver Hostname
www.test.pl
mail.test.pl
till
20th June 2008, 11:39
This looks all fine. Are you sure that your local dns server is authoritive for the domain? Also make sure, that you use external and not internal IP addresses in the dns settings.
biobrew
27th June 2008, 13:51
This looks all fine. Are you sure that your local dns server is authoritive for the domain? Also make sure, that you use external and not internal IP addresses in the dns settings.
I'm having similar problems. I'm using an external IP Address though.
How do you make your local dns server an authoritive for the domain? Not sure what you mean there.
till
27th June 2008, 13:53
Here is a guide for godaddy that explains this in detail:
http://www.howtoforge.com/ispconfig_dns_godaddy
For other provider, the procedure is similar.
biobrew
27th June 2008, 14:21
I used that guide step by step before setting up the perfect server set up with debian etch (which went very well as a copy and paste server set up) before setting up ispconfig and making a new site.
Here are some debug outputs from my server:
dig:
server1:/home/admispconfig/ispconfig# dig @localhost safetytg.com
; <<>> DiG 9.3.4 <<>> @localhost safetytg.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40494
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;safetytg.com. IN A
;; ANSWER SECTION:
safetytg.com. 86400 IN A 69.109.46.146
;; AUTHORITY SECTION:
safetytg.com. 86400 IN NS www.safetytg.com.
;; ADDITIONAL SECTION:
www.safetytg.com. 86400 IN A 69.109.46.146
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun 27 04:19:50 2008
;; MSG SIZE rcvd: 80
ping:
server1:/home/admispconfig/ispconfig# ping ns1.safetytg.com
PING ns1.safetytg.com (69.109.46.146) 56(84) bytes of data.
64 bytes from adsl-69-109-46-146.dsl.irvnca.pacbell.net (69.109.46.146): icmp_seq=1 ttl=255 time=2.44 ms
I'm not sure what else I can check to get the site reached from outside. Thanks also
biobrew
27th June 2008, 14:42
When I check the site from outside my network I get http error 500
The picture is of the godaddy's dns record for the site
biobrew
27th June 2008, 20:30
So what else can I do to test or what other files can I check? I'm still getting a http server error 500 when trying to see the site from outside the network. Thanks in advance for help :)
till
27th June 2008, 20:39
It is the first time that you say that you get a 500 error. This error is not related with DNS in any way.
Have a look in the error log of the website to get the detailed error message.
biobrew
28th June 2008, 02:18
That fixed it. I checked the website log under /var/www/www.safetytg.com/log/error.log and it was a huge blunder on my part on a misplaced .htaccess file. I moved that file to the right location and now all is well with reaching the site from outside the network. Now to start chipping away at that blasted mail server :)
Much love man, thanks
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.