How to change the default root directory?

I just installed a fresh copy of cyberpanel using the installation script on Ubuntu 20.04 LTS. Everything was working as expected. Then created a website and I installed wordpress in the directory “wordpress”, now I able to access my wordpress by going to I want the default root directory for my website to “wordpress” folder. I tried updating the vHost Conf to - “docRoot $VH_ROOT/public_html/wordpress/” and now I can not access my site, any help on this topic?