Hi everyone,
I have finished the course for React 18 and used what I learned to create a web app. As I try to deploy it in our Apache Bitnami Server and enter the domain the app is not served. What is served is just the file structure.
Here are the steps I took to deploy this web app:
- npm run dev
- Upload the vite dist bundle to the lightsail instance through sftp
- Configure the “/opt/bitnami/apache2/conf/vhosts/(mydomain)-vhost.conf” and updated the root directory. It is pointed to the directory of my dist bundle
- Restarted my apache server
- Launched my domain.
After all these steps, the app is not rendering. Hope you guys can help