By frankieguz
Hello,
I’m reaching out with respect to a problem I had earlier and am now taking a new simpler approach. I have a dockerized Flask app that I want as a standalone web page.
I followed this great guide here to spin up a droplet with a Flask app on it through Docker.
I want to essentially do this and have it be a subdomain of a site I already own. Say my site is mysite.us and I want this droplet to be @ demo.mysite.us
How would I go about setting that up? Thanks!
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!
Hi there @frankieguz,
Yes indeed, it should be enough to point your domain name to the Droplet’s IP address in order to get it pointed to your Flask application.
In case you wanted to add an SSL certificate, then you could use Nginx as a reverse proxy to handle the SSL termination, or use Cloudflare with Flexible SSL instead.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.