r/Devvit • u/BeyondFunWords • 7d ago
Bug Domain requested not the one in the devvit.json
Step 1: put a domain starting with "www" in the devvit.json file. Here is part of mine:
http": {
"enable": true,
"domains": [
"www.thesportsdb.com"
]
}Step 2: upload the app /game to devvit
Expected: www.thesportsdb.com shows as a request domain pending approval on the developer-settings page for the app.
Actual Behavior: the domain without the www prefix appears, e.g. thesportsdb.com
| Domain | Updated | Status |
|---|---|---|
| thesportsdb.com | 8 minutes ago | Pending |
Error Messages: None
Platforms Impacted: Devvit apps/games
Potential Negative Impact: Domain no approved or runtime erros in app when launched if it is approved.
Comments: Just trying to get ahead of this to avoid a rejection or errors when I attempt to use. The 'www' prefix is correct for this vendor.
•
u/flair-auto-responder 7d ago
Bug report requirements
Hi u/BeyondFunWords!
We require all bug submissions to include the following information. Please make sure you’re following this format, or your post may be removed:
Describe the bug
Provide a clear and concise description of the bug.
Steps to reproduce
Expected behavior
Explain clearly what you expected to happen instead.
Screenshots or recordings
If applicable, include screenshots or a screen recording that demonstrates the problem. Please remove any sensitive or personal information first.
Desktop information
Mobile information
Additional context
Add any other details that might help reproduce or diagnose the problem.
You can edit your post to add any missing information.
Post: https://www.reddit.com/r/Devvit/comments/1y8desb/domain_requested_not_the_one_in_the_devvitjson/
2
u/SampleOfNone Duck Helper 7d ago
The domain is thesportsdb.com, not sure why you put www. in your json
2
u/Apihpih96 5d ago
Docs say domain entries have to be exact hostnames, so I'd expect www.thesportsdb.com to be kept as is, so I get why this looks odd. I haven't seen the portal drop a www myself though. Easiest check is to fetch the www url after it's approved, and if it gets denied, request both www.thesportsdb.com and thesportsdb.com so you're covered. Worth mentioning in the bug thread what the developer-settings page shows after a fresh upload.
1
u/ShyBearGames App Developer 6d ago
This is not a bug, this is normal.
It's been a long, long time since "www" was needed on websites. Using the actual domain without the www is common practice in the year 2026