# Deploy flutter web on server

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.

* [How to install nginx on ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04-quickstart)
* [How to install apache on ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-18-04-quickstart)

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](https://it.cornell.edu/academic-web-dynamic-web-hosting-static-managed-servers/transfer-files-using-filezilla)

All done now. open <https://you&#x72;_&#x69;p> ro <https://you\\_domain>. you will see the below screen.\_

![](https://4199526822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDNo4fNt2U113dfwgUbOs%2Fuploads%2FsDKdzROnE2jshFnW1tyv%2Fimage.png?alt=media\&token=90d739c1-c6cf-4a0a-a90b-650c79fd993c)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://songalaxy1344.gitbook.io/gomeeting-project-setup/deploy-flutter-web-on-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
