Extending Root Dir of the VHost/Website

Step 1 : Log into N99panel, and click on 'VHosts/Websites'

Step 2 : You will see the list of all the VHosts. Please click 'Details/Manage' link against the appropriate VHost/Website

Step 3 : Now click the pencil icon against 'Root dir extn.:'

Step 4 : In the next screen, enter the name of the folder under the VHost to which the root-dir should extend to. Typically in Laravel 9,10 case it would be 'public'

Upon clicking 'Update Root Dir Extension', the document root of the VHost would point to that particular folder