I'm considering getting a domain for all my personal projects, but I know that having multiple domains can get expensive. A friend suggested buying one main domain (like example.com) and using different subdomains for each of my apps (like app1.example.com, app2.example.com). Are there any downsides to this approach?
5 Answers
Just a heads up, if you're planning on using Google AdSense, you might encounter some issues with subdomains, but as long as you choose a short base domain, it should be fine!
As for drawbacks, I’d say the biggest one is the setup. You need to manage DNS settings for each new subdomain, which does add an extra step. If you don’t have a wildcard SSL, you’ll also need to create individual SSL certificates for each subdomain. But overall, it's a solid approach and helps keep your projects organized!
One handy tip: make sure you set up a webpage at the root domain that lists all your apps. It helps users find what they need without having to remember the app names or spellings.
Using subdomains can definitely work well, just like how Google uses them for their various services. For example, look at drive.google.com and maps.google.com. No major issues on that front!
True, Google makes it work, and so can we!
Some potential downsides include URLs being harder for users to remember, and it might give away that all these projects are linked to you. Plus, you're limited to a single top-level domain (TLD). Just something to think about!

You can streamline this by using a wildcard DNS entry!