Forums

Problem with DNS (DNS_PROBE_FINISHED_NXDOMAIN:)

I have a problem with my custom domain and it seems that it worked but pythonanywhere seems to reject it or something because it does not let me see my application and tried several portals and it seems that the internet town of cname was fine and I get error in the browser DNS_PROBE_FINISHED_NXDOMAIN: what can it be?

first dns tool

Other dns tool

enter image description here

Maybe you need to change your CNAME into shorter one, try only "webapp-410264.pythonanywhere.com" (without ".venpay.net" part).

+1 to what @Astronoms says. It looks like you've put .venpay.net at the end of the "Canonical Name" for your CNAME record. It should be just "webapp-410264.pythonanywhere.com", with nothing else at the end.

@Astronoms @giles Thanks, it worked

@Astronoms @giles Hello, Excuse me for a moment I thought that if it had worked but still has problems the page says

The IP address of the www.venpay.net server could not be found.

I already set up my cname and I still get that error

cname

It seems that CNAME gets your domain part ".venpay.net" automatically appended. To prevent this, try to add a dot at the end, so your full CNAME value looks like this:

"webapp-410264.pythonanywhere.com." - RIGHT

and not this:

"webapp-410264.pythonanywhere.com" - WRONG (as I said before, sorry).

If this doesn't fix it, try to get help from your provider Hosting SSi

wait- I just took a look at your account and you do not have a custom webapp setup anymore?

Also keep in mind that with a 1200 ttl, that means that the changes you make will be applied in say ~20min time. You should probably shorten that.

@Astronoms @conrad Hi, I would like to know if there is not any way to obtain a DNS for this case, since my domain provider tells me that they can not solve this error

What error are they saying they can't resolve? At the moment, www.venpay.net has no DNS set up for it at all:

$ dig www.venpay.net

; <<>> DiG 9.10.3-P4-Ubuntu <<>> www.venpay.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 54038
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;www.venpay.net.            IN  A

@glenn If I had to return to the default domain to continue working with something

OK. It's a bit difficult for us to diagnose things that we can't see. Also you didn't answer my question.

venpay, please try this:

1) at PythonAnywhere - create again the webapp (for domain www.venpay.net) if you deleted it. Then you should get a new webapp number and DNS name. I have suspicion, that your previous "webapp-410264" would not work anymore if deleted.

2) at HostingSSi - edit DNS settings and also add the dot "." to the end of CNAME, like this: "webapp-XXXXXX.pythonanywhere.com." (the XXXXXX will be your new PA webapp number)


P.S. How can I help you, if you seem not willing to cooperate? :) I can guess, if your webapp is offering payment services, next step you'll need - add the HTTPS encryption. This is even a bit more complicated than creating a proper CNAME in DNS, you may need help again.

@Astronoms @glenn thanks to all my app already works

Congrats! Now it looks good and working:

$ dig +noall +answer www.venpay.net
www.venpay.net.         60      IN      CNAME   webapp-412618.pythonanywhere.com.
webapp-412618.pythonanywhere.com. 60 IN A       34.206.101.184

@Astronoms Yes thanks for the help everyone!

Excellent! Glad we could all help :-)