How to build a Multi-tenant application with springboot

I am developing a ecommerce application which i would like to have multiple points of entry with respect to domains.

When a user signs up, they enter a sub-domain which is used to access their publicly available website.

Also, once the user is in the admin panel, they have the option to add their own custom domain, and again, this is used to access their publicly available website.

Essentially, it is a multi-tenant application with sub-domain and main domain access.

I am wanting to ask how other people are handling this type of scenario to manage all of the points of entry.

Here is a summary of the situation I have to cater for:

Marketing site

Customer Website

Admin Panel

Posted Jun 11, 2024, 10:44 AM UTC

82
Loading comments…