How to check the websites in cyberpanel?

Is there any way to check the functioning of the wordpress websites in cyberpanel without changing DNS at registrar end. When I try it goes to old site.
Thanks for your help

Yes, you can use Preview option in CyberPanel for that. Go to the ‘list of Websites’ click on the ‘manage’ button, on the top-left of the page you will find the ‘Preview’ button.

Thanks. I missed it.

Though I can preview, when I tried to login to the site it redirects back to original site. Is there anything I can do.
Thanks for your help

Edit the local host file on your computer

thanks.

I tried preview option but website redirects to the original url. What do I do?