Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 19:57:46

Author Topic: WWW A Record  (Read 7984 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: WWW A Record
« Reply #15 on: 2017-07-12, 07:16:32 »
hostname=www, value=__base__.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: WWW A Record
« Reply #16 on: 2017-07-12, 07:23:02 »
I do have that all along but it still not working.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: WWW A Record
« Reply #17 on: 2017-07-12, 07:29:00 »
Set above setting in 'dns settings' (also better in 'dns template').
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: WWW A Record
« Reply #18 on: 2017-07-12, 07:37:59 »
I have set it in both the DNS setting and the DNS template.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: WWW A Record
« Reply #19 on: 2017-07-12, 07:43:06 »
I cannot ping www version of the domain from the server. Is it possible that it is being blocked somehow?

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: WWW A Record
« Reply #20 on: 2017-07-12, 08:57:05 »
I just chat with my domain registrar and they look it up for me and the WWW A Record is resolved and working fine. I checked with http://www.dnsstuff.com/tools and it seem working fine too.

But it's not working or resolved on the server itself. I don't know if this give you more clue to what might have happened and how to fixed.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: WWW A Record
« Reply #21 on: 2017-07-12, 13:02:17 »
Delete 'CNAME record' for 'www'. And then add 'A record' for 'www' where hostname=www and value=IP (as the same as IP for __base__).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: WWW A Record
« Reply #22 on: 2017-07-12, 13:57:57 »
I didn't the cn www and then added 'A record' hostname=www and value=ip. Then sh /script/restart-all and still the same.

Code: [Select]
<<>> DiG 9.9.9-P6 <<>> www.domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3775
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.domain.com.             IN      A

;; ANSWER SECTION:
www.domain.com.      68163   IN      CNAME   domain.com.domain.com.

;; AUTHORITY SECTION:
domain.com.          3205    IN      SOA     ns1.domain.com. admin.domain.com. 2017071232 3600 1800 604800 3600


I deleted it cn www and deleted the A Record www that was just created and still the same when 'dig www.domain.com'.

Code: [Select]
<<>> DiG 9.9.9-P6 <<>> www.domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3775
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.domain.com.             IN      A

;; ANSWER SECTION:
www.domain.com.      68163   IN      CNAME   domain.com.domain.com.

;; AUTHORITY SECTION:
domain.com.          3205    IN      SOA     ns1.domain.com. admin.domain.com. 2017071232 3600 1800 604800 3600


Did it cache somewhere or the file didn't change?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: WWW A Record
« Reply #23 on: 2017-07-12, 14:14:25 »
Try delete browser cache and run 'ipconfig /flushdns' in windows os (for your pc).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: WWW A Record
« Reply #24 on: 2017-07-12, 14:41:31 »
I used PuTTY to ssh into my VPS. I 'dig www.domain.com' from it. So I am assuming it's server not my computer. Anyway I did as you said. Cleared browser and then 'ipconfig /flushdns'.

I am back PuTTY and 'dig www.domain.com' with the same errors.

Code: [Select]
[root@server ~]# dig www.domain.com

; <<>> DiG 9.9.9-P6 <<>> www.domain.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 54758
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.domain.com.             IN      A

;; ANSWER SECTION:
www.domain.com.      51865   IN      CNAME   domain.com.domain.com.

;; AUTHORITY SECTION:
domain.com.          1143    IN      SOA     ns1.domain.com. admin.domain.com. 2017071245 3600 1800 604800 3600

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: WWW A Record
« Reply #25 on: 2017-07-13, 03:53:32 »
OK, I think it's an issue with the main machine. My VPS seem fine as check with other dns lookup. The main machine need to flush dns?

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: WWW A Record
« Reply #26 on: 2017-07-14, 11:12:13 »
Update: My host have an actual dns server that follow the rules. I have to wait for 7 days. It is now pick up the new www a record. It's all work fine now.

Big thank you for all your help.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.066 seconds with 18 queries.

web stats analysis