How to Setup Custom Domains and Subdomains

  Рет қаралды 49,390

Ben Awad

Ben Awad

Күн бұрын

Пікірлер: 24
@fabianschierz
@fabianschierz 2 жыл бұрын
Nice. I use Digital Ocean (via Cloudways) for hosting, Namecheap for Domains and Cloudflare for CDN, too. So this video was perfect for me!
@MisouSup
@MisouSup 3 жыл бұрын
The redirect record saved me. It was using http and not https, and it was annoying me for months! Thanksssss
@riefkramer9511
@riefkramer9511 2 жыл бұрын
Hey ben, nice video. I only watched about 30 seconds of it then figured it out myself. Thanks anyways
@lmfao7224
@lmfao7224 5 жыл бұрын
I know this question is completely un-related to the video but it's been recking my head. So I had JWT auth set up, with refresh tokens using the counter method in one of your videos to invalid the tokens. I was setting up my react app and I realised o shit where do I store the token. So my options were: - Local Storage (Vulnerable to XSS, not CSRF) - In a cookie (practically the same as using sessions, vulnerable to CSRF) - Just use sessions So I was wondering what method you used in your recipe book app or what way you would go about? Been recking my head completely
@bawad
@bawad 5 жыл бұрын
I would go with cookies, that's what I see most sites using including mine
@manosriram
@manosriram 4 жыл бұрын
@@bawad http-cookies!
@priceless5386
@priceless5386 5 жыл бұрын
just curious, why would you host your frontend on Netlify and backend on digital ocean, vs just hosting everything on digital ocean?
@bawad
@bawad 5 жыл бұрын
To take off the load from the digital ocean server
@hakanaki
@hakanaki 2 жыл бұрын
What extra steps do you have to do on netlify?
@niouzteam7529
@niouzteam7529 4 жыл бұрын
Can I point multiple subdomains to a IP address with different ports numbers?
@kotel94
@kotel94 5 жыл бұрын
Hi Ben, cool video as always. I have a quick question you might be able to help with. When subscribing to web push notifications, I need to send PushSubscription object from frontend to backend. I could create a schema that 'copies' the structure of this object using basic GraphQL types like String or Int. Unfortunately, one of the variables is ArrayBuffer type. Do you have an idea how could I send this type to backend? Thank you!
@bawad
@bawad 5 жыл бұрын
can you convert that buffer to an int array possibly?
@DanielAbdelsamed
@DanielAbdelsamed 5 жыл бұрын
You can convert it to base64 to make it serialize to a string. stackoverflow.com/questions/9267899/arraybuffer-to-base64-encoded-string
@roficakep
@roficakep 5 жыл бұрын
Ben, can you show how to create subdomain using nginx ubuntu in digitalocean, I tried and I have problem, always redirect to mercusuar
@bawad
@bawad 5 жыл бұрын
I use dokku for that
@m10004
@m10004 4 жыл бұрын
sir I need help , I have web app that create subdomains for each user and some users already have domain name and they want to link their domain with subdoman that they got from my web app , any Idea please 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@bawad
@bawad 4 жыл бұрын
they can create a CNAME record and point to their custom domain to your subdomain
@ariell121
@ariell121 5 жыл бұрын
Ben, have you tried namesilo ?
@bawad
@bawad 5 жыл бұрын
No
@leawilliams3916
@leawilliams3916 4 жыл бұрын
this was insanely complicated and irrelevant to adding a subdomain. Use sites most of us would actually use!
@monero.jeanniton
@monero.jeanniton 4 жыл бұрын
Can I point multiple subdomains to a IP address with different ports numbers?
Using Domains with Your Server | Common DNS Configurations
12:30
Akamai Developer
Рет қаралды 45 М.
Subdomains in DNS - What are...
4:36
Eli the Computer Guy
Рет қаралды 16 М.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 120 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 264 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 18 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Subdomains vs Subfolders - SEO Best Practices
3:57
Ryan Stewart
Рет қаралды 6 М.
How to Debug Cookies When They Don't Work
11:53
Ben Awad
Рет қаралды 13 М.
Cloudflare SSL for SaaS Webinar
32:04
Cloudflare
Рет қаралды 5 М.
Domains, Paths, and Subdomains: What They Are And How To Use Them
14:58
Automated Marketer
Рет қаралды 5 М.
How to Make Your Own VPN (And Why You Would Want to)
25:54
Wolfgang's Channel
Рет қаралды 2,3 МЛН
How to Roll Your Own Auth
13:05
Ben Awad
Рет қаралды 118 М.
Add Custom Sub-Domains To Your Notion Webpages!
9:52
Dimitris Solutions
Рет қаралды 3,4 М.
Articulate Your Thoughts Clearly: 3 PRECISE Steps!
19:33
Kara Ronin
Рет қаралды 1,1 МЛН
How to Setup a Website | Domain Registration, DNS, and VPS
20:05
Chris Titus Tech
Рет қаралды 69 М.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 120 МЛН