How to bind dynamic path's with real domain?

2 weeks ago 20
ARTICLE AD BOX

Let me explain you the situation:
So I have a front-end which I will have dynamic route. And in that route I will pass username of my websites registered user's. Using the pathname we will get the username and we will fetch some details about the user.

Now I want is user will be able to by a domain of his own. And with that domain he will be able to connect the dynamic route. And when we visit that domain I don't want to just redirect to that dynamic route but Instead I want to bind the dynamic route with the domain. So, when public visit the domain they don't see the dynamic route.

In my front-end I am using react with react-router for routing.

Read Entire Article