Forums

Problems with custom domain

Hi! We have problems with the custom domain. This is the settings: Pythonanywhere  dig  Namecheap  Nic.ar

But when we check: Whatsmydns  Custom domain

The DNS delegation took place on Wednesday 02/15/2023

I can see one problem right away -- the website name on the "Web" tab on PythonAnywhere is missing the "www." at the start, so you'll need to fix that. But that doesn't look like it will be sufficient to get things working on its own.

When I ask Google's DNS servers to tell me who the authoritative name servers are for pythonanywhere.com, I get this:

$ dig NS @8.8.8.8 pythonanywhere.com
; <<>> DiG 9.16.1-Ubuntu <<>> NS @8.8.8.8 pythonanywhere.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41642
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;pythonanywhere.com.            IN      NS
;; ANSWER SECTION:
pythonanywhere.com.     21600   IN      NS      ns-1351.awsdns-40.org.
pythonanywhere.com.     21600   IN      NS      ns-1888.awsdns-44.co.uk.
pythonanywhere.com.     21600   IN      NS      ns-315.awsdns-39.com.
pythonanywhere.com.     21600   IN      NS      ns-775.awsdns-32.net.
;; Query time: 16 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Feb 17 17:23:09 UTC 2023
;; MSG SIZE  rcvd: 184

This is correct, because we use AWS to handle our DNS -- that is, they perform the same role for us as Namecheap's FreeDNS service do for you.

However, when I make the same query for your domain, I get no results back:

$ dig NS @8.8.8.8 estadoentubarrio.com.ar
; <<>> DiG 9.16.1-Ubuntu <<>> NS @8.8.8.8 estadoentubarrio.com.ar
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 19252
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;estadoentubarrio.com.ar.       IN      NS
;; Query time: 396 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Feb 17 17:22:05 UTC 2023
;; MSG SIZE  rcvd: 52

This means that the nameserver setup that you've done on nic.ar has not taken effect for some reason, so I think that's the one you'll need to get fixed; you'll have to contact their tech support to find out what to do there.

Thanks a lot.

Hi, we did make a tiket in nic.ar and they did reply to us "Dear, I verify that the domain is delegated and the dns point correctly to the domain, so you should contact your hosting provider and tell them that the dns are published."

Have any idea why the dns not propagated?

Dig capture

https://ibb.co/RCBcjYs

How does your CNAME configuration look like?

This is our cname configuration Pythonanywhere web app

No, that's your web app configuration. Show us the DNS configuration that you have for the CNAME you've set up on your DNS host.

Sorry for the delay. This is the CNAME set up on DNS host (namecheap). CNAME set up

Sorry for the delay. This is the CNAME set up on DNS host (namecheap). CNAME set up

That may be correct, but we cannot see what domain you applied that to. See https://help.pythonanywhere.com/pages/TroubleshootingDNS/

Hi. Due to the issues mentioned above. We decided to change the DNS provider to cloudflare.com. The domain was OK for a few hours but then it crashed. Pythoanywhere settings Pythonanywhere dig dig DNS provider (cloudflare) DNS And we received this in web browser web browser But when we use a proxy like translate.google the web site is OK proxy

That site is not "crashed". It is being blocked by some security software (like a firewall or antivirus) that is either in your network path or running on your machine.

Thats right, thanks a lot. Sorry for the inconvenience.

I hope you were able to unblock it.