URL duplicating twice on address bar after clicking on join on meeting sdk when hosted on CPanel

Below is the sample of site url duplicating twice :

https://example.com/example.com/meeting.html?name=bWlmcmllbmQ%3D&mn=5515379565&email=&pwd=rX5m6P&role=0&lang=en-US&signature=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJJU0tZeFR6V1R5dXI1REVHT3NoYTlBIiwiYXBwS2V5IjoiSVNLWXhUeldUeXVyNURFR09zaGE5QSIsImlhdCI6MTcwMTIxNjM3MiwiZXhwIjoxNzAxMjIzNTcyLCJtbiI6NTUxNTM3OTU2NSwicm9sZSI6MH0.vcdFjFLlYRruSLfc9XLjRgkwOCjSNDjaITtJHqT0qxk&china=0&sdkKey=ISKYxTzWTyur5DEGOsha9A
this is resulting 404 server error.

after i edited to this https://example.com/meeting.html? , i was able to connect to server. How do i write the joinUrl to resolved to that , have been on this for hours without solution