I followed the tutorial How to Deploy a Flask Application on an Ubuntu VPS from the digitalocean community tutorials and I got it to work. It’s a single HTML file, single CSS file, and one main.py file. I had a bit of trouble with the DNS but I have the nameservers pointing to digitalocean. In my DNS records I have a type A record with the hostname as my URL and it directs to my IPV4 with a 3600 TTL. I have 3 NS records with the hostname as my URL and the value it directs to are the ns1,ns2,and ns3 digitalocean nameservers with a TTL of 1800.
Furthermore, my SSL certificate does not work and I got it through Digitalocean Settings > Security > Certificates.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.