Migrating your existing website from XAMPP is not going to solve the Lua issue. The problem is that in order to use the Lua scripting features, you need to be able to use certain PHP functions which are disabled on our hosting. On XAMPP, those functions are likely not disabled, which is why it works locally. But whether you install a new site here or migrate an existing site: the functions that are disabled on our hosting are disabled and cannot be used.
If you still want to try to migrate your website from XAMPP, I would suggest to do it this way:
But again, I strongly doubt it will actually solve your issue.