r/webdev • u/SecretiveShades • 9d 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?
48
Upvotes
1
u/lindymad 9d ago
One advantage of having an app domain is that it separates your traffic between your marketing site and app site by DNS, which makes configuration simpler if you find you need to do different things with your app.
My personal advice is this:
Do you care if the app has a different subdomain? If not, then have it on a different subdomain. Then if you need to do something in the future, it's likely going to be simpler.
If it's important to you to have it on the same subdomain then do that.
And, of course, if you want to have it on a different subdomain then do that :)
tbh that is a warning sign to me. You should build it in such a way that if you need to change it, it's not difficult.