To temporarily redirect the whole website under a folder to a new domain.

Using .htaccess, it can be done with just the following code.


Redirect 302 / https://www.namran.com/

If you want a permanent redirect, change 302 to 301.
It may have some SEO impact, but I am not sure how significant it is.

 

Goodluck.