I want to change the url of my website with the user's name so that user can share the url with his/her networks no name of the company/website included.
let's use upwork "www.upwork.com" for the example so when a freelancer signup on upwork or fiverr it creates their profile and then anyone can asses their profile with url like this "www.upwork.com/freelancerName-123" now instead of this i want to make it something like this "www.freelancerName-123.com" now freelancer can share their profile without showing the name of company in the url, help me achieve it I know there are many senior devs out there who can help :)
NOTE: I am using (reactjs/nextjs/firebase).
here's what CHAT-GPT says: To give each user a unique URL after sign-up, you will need to dynamically generate a new domain name for each user and configure your web server to route requests to the appropriate user profile based on the domain name. I need more clear answer