Rest Api Call - > {"message":"not Found","status":404}


I have installed the latest version of Cs-Cart multivendor on a VPS with virtualmin Control panel and when I make an APi call say get {"message":"Not Found","status":404} response.

I have tried installing the Cs-cart on a shared hosting and able to get the JSON RESPONSE WITH 200 OK status code.

What is going wrong with my VPS installation? Is it any files / Folder permissions or Apache configuration or PHP version ... I have tried it on php 7.3 / 7.4. It works well on shared hosting.

Kindly help me with a solution. If it is apache configuraion... what directives do i need to change or add.

Thanks in advance.