I get 503 error as browser adds www to the web URL

What is the name of the domain?

any domain

What is the error number?

503

What is the error message?

503 service not available

What is the issue you’re encountering

when I type the domain name of mywebsite (without any prefix like http or https or www and without any extension like .com or .ai in the browser’s address bar and hit ctrl+enter, the URL is formed as https://www.mywebsite.com. This leads to 503 error. How do I prevent this www getting added to the URL ?

What feature, service or problem is this related to?

DNS records

Browsers may default to .com for legacy reasons if you do not specify the domain extension. That’s not something you or Cloudflare has control over, and you should always include your domain’s extension… especially if it’s no a .com domain.

If the .com is your domain and the www isn’t working, I’ll recommend creating a Cloudflare Rule to automatically forward www to the root domain. Please see: Redirect from WWW to root · Cloudflare Rules docs

Good luck!

1 Like

Thanks for the inputs. But I already have the A record for www.

Where did I mention “A record”? :smiley:

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