Search code examples
flutterdartaqueduct

How can I deploy aqueduct application to web hosting plan using cpanel?


HI im very new to back end and Im learning aqueduct since I know dart programming. My question is how can I deploy the aqueduct to my webserver? I have a hosting plan to a2hosting which Im currently using for my wordpress site and I wonder if I can deploy my dart server to cpanel so I can use them as a backend to my flutter app? Thanks for any answer!


Solution

  • It depends on many factors.

    Generally I'd say "no can do".

    Get a VPS and host it there.

    It depends on if your cpanel hoster has access via ssh enabled, which they usually don't. But even then I'm confident the hoster won't allow long running apps on his shared hosting server.

    • Dart has to be installed on the host, which is usually not the case on shared hosting servers
    • You need some kind of external oauth2 service
    • You need a postgresql database server, which cpanel provides but your hoster might not

    Aqueduct official deployment guides are found on the their official site.