Hi guys do you know how I can launch my final project which works perfectly on the CS50ide server to an actual domain on the internet? I have all my program files with me, and tried to create a website using github but my website wasn't fully functioning for some reason and now I am trying to find a place where I can simply upload my files containing code(application.py, templates etc) and my website is launched. Your help is greatly appreciated


You will need to use a hosting service (GitHub pages, GitLab pages, 1and1.com, GoDaddy.com, etc.) or host it yourself on your own machine (such as a Raspberry Pi, secondary computer, etc.), have/purchase a domain name, and then have your domain name point to the IP address of where you hosted the website.

The specifics of how you go about actually doing all of this will depend on the route that you choose, but each hosting service should provide documentation on how to upload your files and point your domain to it (some even allowing you to purchase your domain through them as part of a hosting package). If you decide to host it yourself, there are numerous articles and YouTube videos on how to do this, depending on the route you choose, and how to set up your network to allow incoming traffic to that server--this is the trickiest part, as a lot of routers have a firewall that prevents unrequested external traffic.

Hopefully this answers your questions and helps point you in the right direction. If it does, feel free to click the check mark next to my answer to accept it. But if not, let me know and I will try to help some more.

EDIT: These steps are/external hosting is necessary because I am not aware of any way to make the CS50 directories that we access for our assignments accessible to the public; I do not think that the server permissions allow for such. But, GitHub Pages and GitLab Pages are both free, and there are many other free hosting sites available.

  • So if I were to upload my files, the cs50 libraries would not be supported by external web servers right? Do you know anyway for me to overcome this without having to redo the whole thing? Thank you so much for your help. (I heard of Docker but I am unsure of how to use it) Jul 22 at 6:41
  • I cannot say for sure what will or won't be supported without knowing what your code calls. However, this support is generally regarding browsers. The server isn't usually the issue, unless your hosting provider doesn't allow you to install packages/libraries; most of the time the issue is ensuring that a wide variety of browsers support/display your site properly. For the server, you will just need to upload everything your code calls and ensure that the calls point to the right place. Jul 22 at 10:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .