Deploy flutter web on server

as this flutter app is supported web also. you can deploy it on any server or cpanel.

we recommended you to deploy flutter on the vps/ubuntu/digital-ocean server where you deployed your node server, so you don't need to purchase another hosting for your flutter web.

Deploying the flutter web app on the server is pretty simple. you have to install an Apache or Nginx server on your instance. please follow the below links for installing apache or nginx. you don't need to install both. you can install one of them.

Now, we assuming that you installed apache. now open the terminal and go to the folder directory /var/www/html and upload your web.zip file, extract that web.zip file and move you code from /var/www/html/web folder to /var/www/html folder. you can use FTP

All done now. open https://yourip ro https://you_domain. you will see the below screen.

Last updated