My website does not work with www

I have created a Cloudflare Pages website deployed by default on https://athena-chf.pages.dev/
Also this is deployed on a custom domain collegewallah.co

But when I try to access it through www, such as www.collegewallah.co, it fails with following error:

  • Connection timed out
  • Error code 522
  • Browser Working, Cloudflare Working, Host Error

On my DNS records page I can see an entry:
Type: CNAME, NAME: www, Target: collegewallah.co, ProxyStatus: Proxied :orange:

But I still can’t get it work. What am I missing ?

Here’s my complete DNS setup, exported from Cloudflare DNS page:

;;
;; Domain:     collegewallah.co.
;; Exported:   2023-03-27 16:41:32
;;
;; This file is intended for use for informational and archival
;; purposes ONLY and MUST be edited before use on a production
;; DNS server.  In particular, you must:
;;   -- update the SOA record with the correct authoritative name server
;;   -- update the SOA record with the contact e-mail address information
;;   -- update the NS record(s) with the authoritative name servers for this domain.
;;
;; For further information, please consult the BIND documentation
;; located on the following website:
;;
;; http://www.isc.org/
;;
;; And RFC 1035:
;;
;; http://www.ietf.org/rfc/rfc1035.txt
;;
;; Please note that we do NOT offer technical support for any use
;; of this zone data, the BIND name server, or any other third-party
;; DNS software.
;;
;; Use at your own risk.
;; SOA Record
collegewallah.co	3600	IN	SOA	angela.ns.cloudflare.com dns.cloudflare.com 2043160189 10000 2400 604800 3600

;; NS Records
collegewallah.co.	86400	IN	NS	angela.ns.cloudflare.com.
collegewallah.co.	86400	IN	NS	kirk.ns.cloudflare.com.

;; CNAME Records
collegewallah.co.	1	IN	CNAME	athena-chf.pages.dev.
_domainconnect.collegewallah.co.	1	IN	CNAME	_domainconnect.gd.domaincontrol.com.
email.collegewallah.co.	1	IN	CNAME	email.secureserver.net.
www.collegewallah.co.	1	IN	CNAME	collegewallah.co.

;; MX Records
collegewallah.co.	1	IN	MX	0 smtp.secureserver.net.
collegewallah.co.	1	IN	MX	10 mailstore1.secureserver.net.

;; SRV Records
_autodiscover._tcp.collegewallah.co.	1	IN	SRV	0 0 443 autodiscover.secureserver.net.

;; TXT Records
collegewallah.co.	1	IN	TXT	"v=spf1 include:secureserver.net -all"

Did you add www to the Custom Domains section?

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.