The index feature should be enabled by default on LSWS, please confirm with your hosting company. They can raise tickets to support@litespeedtech.com for any question.
Not sure why changing the host file helps, is it possible for you to share the .htaccess content?