Getting Your App Online
The practical steps: choose where to host, get your code there, point a domain at it, and turn on HTTPS. Modern platforms make this a short path from repo to live URL.
Time for the real thing: getting your app onto the internet at a URL people can visit. The practical path is short with modern tools: pick somewhere to host, get your code running there, point a domain at it, and switch on HTTPS. This session walks the concrete steps - not deep server administration, but the approachable modern route from a Git repo to a live, secure URL.
Where to host
You have a spectrum of options, from platforms that do almost everything for you to raw servers you manage yourself.
| Option | You manage | Good for |
|---|---|---|
| Platform-as-a-Service (PaaS) | Almost nothing | Getting live fast, beginners |
| Managed hosting | Some settings | Balance of control + ease |
| A raw server (VPS) | Everything | Full control, more to learn |
For your first deployment, a platform (PaaS) is the friendly choice: you connect your GitHub repo, it builds and runs your app on its servers, and gives you a URL - handling the machine, the runtime and much of the config. You can graduate to managing your own server later; there's no need to start there.
Deploy, domain, HTTPS
The steps to a live, professional URL are approachable and mostly automated by modern platforms.
| Step | What it involves |
|---|---|
| Deploy the code | Connect your Git repo; the platform builds & runs it |
| Set config/secrets | Add your environment variables in the dashboard |
| Point a domain | Buy a domain, set DNS to your app (or use a free subdomain) |
| Enable HTTPS | The padlock - usually one click or automatic now |
A <b>domain name</b> (like myapp.com) is what people type; <b>DNS</b> connects that name to your app's address. <b>HTTPS</b> (the padlock) encrypts traffic so data is safe in transit - it's essential, non-negotiable for any real app, and modern platforms often enable it automatically. From repo to secure live URL can genuinely be an afternoon.
Repo to live URL
- Start with a platform (PaaS) - connect your repo, get a URL, minimal server work.
- Set config & secrets in the platform (not in your code).
- A domain + DNS gives people a name to visit; a free subdomain works to start.
- HTTPS is essential - encrypts traffic; usually one click or automatic.
๐ฏ Key takeaways
- Getting online: pick hosting, get your code running there, point a domain at it, enable HTTPS.
- For a first deployment, a platform (PaaS) is friendliest - connect your Git repo and it builds, runs and hosts your app.
- A domain name + DNS gives people a name to visit; a free subdomain is fine to start.
- HTTPS (the padlock) encrypts traffic and is essential for any real app - modern platforms often enable it automatically.
Frequently asked
What are domains, DNS and HTTPS - and which do I actually need?
These are three related pieces of getting a professional, secure web presence, and you'll want all three for a real app, though you can start simpler. A domain name is the human-friendly address people type to reach your app - like myapp.com - instead of a raw numeric server address. You buy (technically rent, usually annually) a domain from a registrar, and it's what gives your app a memorable, professional identity. For learning or a first deploy, you often don't even need to buy one immediately, because hosting platforms typically give you a free subdomain (like myapp.theplatform.com) that works fine to get started; you can add a custom domain later. DNS (Domain Name System) is the system that connects a domain name to your app's actual server address - it's like a phone book that translates 'myapp.com' into the numeric address where your app lives, so when someone types your domain, their browser knows where to go. When you point a domain at your deployed app, you're configuring DNS records (usually a simple setting in your domain registrar or hosting dashboard) to say 'this name goes to this app'. It sounds technical but is often just filling in a couple of fields, and platforms provide instructions. HTTPS is the security layer - the padlock icon in the browser - that encrypts the traffic between users and your app, so that data (passwords, personal information, anything) can't be read or tampered with as it travels the internet. HTTPS is essential and non-negotiable for any real app: browsers warn users away from non-HTTPS sites, it's required for security and trust, and it's needed for many features. The good news is that HTTPS has become easy and usually free - modern hosting platforms very often enable it automatically for your app and any domain you connect, so it may be handled for you with no work, or a single click. So which do you need? For a real, public app: HTTPS always (usually automatic), a domain for a professional identity (or start with the platform's free subdomain and add a custom domain when ready), and DNS configuration to connect a custom domain (a small step when you get one). For just learning and experimenting, the platform's free subdomain with automatic HTTPS gets you a live, secure URL with essentially no domain or DNS work at all. The path scales with your needs: start with what the platform gives you, add a custom domain (and its simple DNS setup) when you want a professional address, and rely on the now-standard automatic HTTPS for security throughout.
Should I use a beginner-friendly platform or learn to manage my own server?
For getting started and for most applications, use a beginner-friendly platform - and only learn to manage your own server when you have a specific reason to, because platforms give you most of the benefit with a fraction of the effort and risk. A platform (Platform-as-a-Service) handles the hard, tedious, and security-sensitive parts of running a server for you: provisioning the machine, installing and updating the operating system and runtime, configuring the web server, managing security patches, often handling HTTPS and scaling, and giving you a simple way to deploy (frequently just connecting your GitHub repo). This lets you focus on your actual app rather than on server administration, which is a genuine specialist discipline with a lot of ways to get it wrong - especially around security, where a misconfigured self-managed server can be a serious liability. For a beginner, a first deployment, and honestly for a great many real production apps, a platform is the right choice: faster, safer, and far less to learn and maintain. Managing your own raw server (a VPS - virtual private server - where you get a bare machine and set everything up yourself) gives you maximum control and can be cheaper at scale or necessary for certain specialised needs, and it's genuinely educational to do once to understand what platforms are doing for you. But it comes with real responsibilities: you must handle security updates, configuration, monitoring, backups, and keeping everything running, which is ongoing work and carries risk if neglected. The pragmatic path is to start with a platform to get your app live and learn the deployment flow without drowning in server administration, then - if and when you have a concrete reason (cost at scale, a need for control the platform doesn't allow, or a desire to learn server administration as a skill) - explore managing your own server, ideally as a deliberate learning exercise rather than a requirement thrust on you at the worst time. Don't feel that 'real' developers must hand-manage servers; enormous amounts of professional software run on platforms precisely because offloading server management is sensible. Learn server administration if it interests you or a need arises, but let a friendly platform carry you for your first deployments and beyond - it's the approachable, safe, and productive default, and it lets you ship real apps now while your server-management knowledge grows over time if you choose to pursue it.
Related lessons
Environments & Configuration
Your app runs in different places โ your laptop, a test server, production โ and each needโฆ
Deploying & Running Your AppKeeping It Running: Logs & Reliability
Deploying isn't the finish line โ a live app has to *stay* healthy. Logging, monitoring, aโฆ
Web Development BasicsBuild a Web App: Putting It Together
You now have every piece โ requests, HTML, routing, templates, input, APIs. This is how thโฆ