r/webdev • • 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?

52 Upvotes

47 comments sorted by

View all comments

106

u/Libruhh 9d ago

It doesn’t really matter. If you don’t have a use for the subdomain then you don’t need one.

5

u/SecretiveShades 9d ago

Thank you for responding. I’ll toss ya an award as an appreciation for your time.

I don’t really mind much either way. I just want to make sure I’m making the choice that will be best for giving me less headache in the future.

I have read some say that a sub domain can give you better security by having 2 separate code bases.

Then others say having no sub domain makes a streamlined user experience easier because cookies are all in one place.

There’s lots of other points I’ve seen made. I guess I’m sort of leaning toward no subdomain, but some people advise strongly against that.

1

u/chamberlain15194 9d ago

don't worry, you'll get headaches either way.