PDA

View Full Version : Connect to mysite.gr / not to www.mysite.gr


mpjxprt
14th November 2008, 20:11
Hello All !!!

I'm brand new in Debian/ISPconfig, I have a fresh Debian Installation, a static IP and a registered domain mysite.gr ...
(I also have the nameservers ns1.mysite.gr and ns2.mysite.gr configured OK - I think)

I set up a new site www.mysite.gr
When I connect to my static IP, it leads to the "Shared IP" file ... OK.
When I connect to mysite.gr it leads me to "www.mysite.gr" file ... OK
but Ι cannot connect to www.mysite.gr ... :( (It always gives me a timeout)

What have I done wrong ?
Is there any tutorial to test my Ispconfig/DNS/Debian parameters ?

/Thanks in advance ... ;)

falko
15th November 2008, 14:37
Please check if the DNS record for www.mysite.gr is pointing to the correct IP address:
dig www.mysite.gr

mpjxprt
15th November 2008, 16:55
I performed dig for both mysyte.gr and www.mysyte.gr ...
Here are the results ...

mysyte:~# dig www.mysyte.gr

; <<>> DiG 9.3.4-P1.1 <<>> www.mysyte.gr
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63650
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.mysyte.gr. IN A

;; ANSWER SECTION:
www.mysyte.gr. 10000 IN A 192.168.2.5

;; Query time: 1 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Nov 15 16:46:10 2008
;; MSG SIZE rcvd: 50

mysyte:~# dig mysyte.gr

; <<>> DiG 9.3.4-P1.1 <<>> mysyte.gr
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33288
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mysyte.gr. IN A

;; ANSWER SECTION:
mysyte.gr. 10000 IN A 192.168.2.5

;; Query time: 2 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sat Nov 15 16:46:27 2008
;; MSG SIZE rcvd: 46


(192.168.2.5 is the Internal server IP adress)
I cannot see any differences ...
Any help ?

/Thanks

_X_
15th November 2008, 22:48
did you defined additional Co-Domain for www.mysite.gr
Hostname: < blank
Domain: mysite.gr

in ISPConfig?

mpjxprt
16th November 2008, 08:18
did you defined additional Co-Domain for www.mysite.gr
Hostname: < blank
Domain: mysite.gr

in ISPConfig?

Yes, I have done this ... :(

I think that some parameter does not "allow" users to reach www.mysite.gr ...
With what commands can I check them ?

/Thanks

mpjxprt
16th November 2008, 08:21
HEY .... It Worked !!! :o

I' dont know how, but ... IT WORKED !!!

Thank you all ...
:)