OVERVIEW
If the cloned environment’s URL is redirecting you to the main environment, then the below procedure will help you separate the cloned environment from the main environment.
STEPS -
1 - Login to PHPMyAdmin of clone environment
Note: The PHPMyAdmin link and its credentials will be sent to your registered email id.
Select the database > wp_options
2 - Change the URLs
Go to wp_options, you need to update the current environment’s link in siteurl and home options.
3 - Clear the cache
Clear the browser cache and try again.