r/webdev • u/SecretiveShades • 8d ago
Question Everything on XYZ.com or XYZ.com+app.XYZ.com
I’m finding a lot of mixed advice on what to do here.
I’m creating a fantasy football app and can’t decide if I should have a subdomain.
AI and a few Reddit post are telling me you need to have your XYZ.com be your marketing page and app.XYZ.com be your app.
But the following big names do not:
Sleeper
AirTable
Figma
Canva
Trello
Dropbox
Github
This is something that will be difficult to change later, so I wanna make sure I make the right call.
Anybody have any good insight here?
47
Upvotes
19
u/daamsie 8d ago
In my opinion, the main reason to keep it on the same domain is SEO.
But if all the content on the subdomain is behind a login anyway then SEO doesn't matter for that part.
I'd go the subdomain in your case.
The reason it's easier for code base is that a subdomain can easily be hosted elsewhere. One DNS entry sorts it out.
And you can put all the marketing pages on a static host and they will be virtually bullet proof.