I have implemented multi-tenancy in a project with unique subdomains & separate dbs.
Suddenly, my client said that we will provide subdomain of customer’s choice, its like customer will give his own hostname manually on phone call as there is no registration process for our clients right at the moment and we will add the customer. For example: If two users user 1 and user 2 wants their domains to be user.myapp.com, then how can I determine who is who? Like we have user 1 and his domain is user.myapp.com. Now user 2 comes in and give his domain to be user.myapp.com, but we have already this domain in our database and I think it must be unique, then how can I use the same domain for my another customer. In this way, duplication is obvious.
Please tell me is it possible, because my experience says no its not.
The subdomain should be reserved on a first-come first-serve basis. The first person that picks it gets it and I believe anyone who wants a name that is already taken will understand and choose another name. The same scenario plays out when we are choosing email usernames, buying domain names etc.
If the name is not available, choose another one or better still since you can easily cross check, you can suggest similar names that are available.
FatimahSanni said:
The subdomain should be reserved on a first-come first-serve basis. The first person that picks it gets it and I believe anyone who wants a name that is already taken will understand and choose another name. The same scenario plays out when we are choosing email usernames, buying domain names etc.
If the name is not available, choose another one or better still since you can easily cross check, you can suggest similar names that are available.
Thanks FatimahSanni for sharing your thoughts. It helps :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community