How to point a NameCheap Domain to a Digital Ocean Droplet
Vložit
- čas přidán 20. 07. 2024
- In this tutorial you'll learn how to setup a Digital Ocean Droplet, register a domain through NameCheap and then link the two together!
Get $200 free Digital Ocean credit using this link! www.juniordevelopercentral.co...
Get a domain from NameCheap: www.juniordevelopercentral.co...
00:00 Intro
01:46 Server Setup
07:12 Testing with nginx
09:53 Domain name registration
12:40 Pointing domain to server
So in this video i'll show you how you can setup a new server (or droplet) in the DIgital Ocean infrastructure and we'll see how you can set up a quick web server to show the droplet is active.
We'll then go and register a domain with Namecheap and point the domain to the DigitalOcean droplet by modifying the domain's DNS so typing in the domain to a web browser will load the test web page on our droplet.
What we're kind of doing is a type of domain forwarding but instead of any requests for the site/domain coming to an initial server (like NameCheap for example) we're just telling the Internet via the Domain Name System where to find our domain.
#digitalocean #namecheap #dns
I jumped straight to 12:40, because I remember how to do everything except the configuration of namecheap and it worked perfectly, thank you very much!😁
Great! Glad it you got setup.
Oh man! Thanks, Great stuff. I appreciate this.💘
Hey. Great video thanks. I’m new to docker and found your channel. Will this method support running multiple different docker applications? I’m looking to run plausible (saw your video) and several other self hosted docker apps..thanks
Thanks very much! Yeah of course, you can run multiple docker apps - obviously just need docker installed on your VPS/Droplet which you can do either manually or via the 1-click install like I did in this video.
Your only limitation is going to be RAM but I’m successfully running Plausible/nginx on the most basic Digital Ocean droplet (1GB) and I reckon I could run a few more apps before needing to upgrade.
Hope that helps.
Hey thanks…for taking the time to reply! Aha ok…I’m new to any coding stuff but was techy in another life lol…ok so is it feasible to run different apps inside the same docker on DO? I started seeing stuff about needing reverse proxy’s..? Will follow your plausible install video…cheers
Yeah you can absolutely have multiple apps running. The reverse proxy is intended to expose things to the Internet. So you can have plausible running through your reverse proxy for example but maybe have additional apps which are private.
If you want to host multiple apps (either in Docker or just apps running on your server) you might be interested in this video where we look at configuring multiple apps running on a reverse proxy: How to Host Multiple Node Apps with nginx and pm2
czcams.com/video/5NwwuSWrCdw/video.html
@@codewithbubb thanks. Think I may be getting a bit carried away to start with lol. Plausible looks straightforward. I also want to run typebot self hosted but that needs smtp access…in case you fancy a typebot install video! 😉
How to add SSL certificate?
certbot (free certificate from letsencrypt) is probably your best/easiest way. I did a tutorial on this a while back which you can see here: czcams.com/video/8i3OjPqPHmc/video.html