Search code examples
javascripturlhttp-redirectroutesurl-routing

How can I replace original base URL to my custom URL?


When anyone goto mydomain.com then I want just rename to hellodomain.com base URL without refreshing. That's mean there is no relation between mydomain & hellodomain. So whenever you go, you will see hellodomain instead of mydoamin.

Is it possible by using javascript? If then how can I do this?


Solution

  • Not possible at the javascript level