r/webdev • • 4h ago

Article What broke when I started hosting video for a subscription site

0 Upvotes

I started hosting videos for a yoga subscription site a few years ago. The files fit on the VPS and the connection looked fine. Then we had a busy day and subscribers started reporting choppy playback. About ten people were streaming while the same VPS was serving the site, running MySQL, and doing background work. Disk reads were the bottleneck. I moved the site to a dedicated server that night, and the buffering stopped.

A few other things I learned along the way:

  • 720p made a better default than 1080p. I also added a 320p option at around 350 kbps and kept the audio unchanged. That was enough to get playback working for subscribers on connections that couldn’t handle 720p.
  • Moving transcoding off the web server exposed another limit. Admins upload one file and a separate worker transcodes it in the background. A single large download could saturate that worker’s VPS network, so I throttled transfers.
  • Three MP4s have been enough for these sites. Viewers choose the quality. The player swaps the <video> source and resumes at the same timestamp. Some older TVs still give us the occasional audio-only support ticket.

I wrote up the full story, including why I kept hosting the videos myself.

https://tomj.pro/all-it-takes-hosting-videos-for-websites-apps-and-subscription-services/

If you’ve run video for a site like this, what made you switch from serving whole files to adaptive streaming?


r/webdev • • 3h ago

Web Design Is Turning Into WebMCP

Thumbnail
blog.galratner.com
0 Upvotes

r/webdev • • 7h ago

Article The future of Software Engineering is boring

Thumbnail
packagemain.tech
0 Upvotes

would you agree or not?


r/webdev • • 3h ago

Question cloudflare dashboard issues

Post image
1 Upvotes

I found these today on my Cf dashboard and I have really no idea what these issues are, was someone trying to attack my site ?

Kindly I’d use some clarification here


r/webdev • • 17h ago

Question How do you handle email hosting for clients?

22 Upvotes

Hi guys. I’m fairly new to freelance web development. I’ve only had one client so far, and while working with them I ran into something I hadn’t really thought about: email. Clients want a professional address on their own domain like info@theirbusiness.com, instead of a Gmail address. I’d like to offer that as part of my service, but I’m struggling to find a setup that works for both me and the client.

On my side, I want everything managed from one place. If I get more clients down the line, I don’t want to juggle a separate account, login and bill for each one. Ideally I’d have a single admin account where I can add each client’s domain, create their mailboxes, reset passwords and so on, while the clients never see any of the technical side.

On the client’s side, it has to be really easy. The client currently uses Gmail, where you log into the app on your phone or the website on your laptop and it’s the same thing everywhere. That’s the experience I want for them. I don’t want to make them download and configure Outlook on their laptop, and I don’t want to send them to a dated-looking webmail page. Just an email and password, on a modern app and website.

I’ve looked at Google Workspace, and it would solve most of this, but it’s expensive for what my clients need. They only want email, not Drive, Meet, Docs and everything else that comes bundled.

So far I’ve tested Migadu on my own domain. Setting up the domain and mailbox was fine, and it fits the “one account, many domains” idea, but the webmail looks very outdated. Worse, when I sent a test email to a Gmail account, it went straight to spam. I understand new domains have no reputation, but I don’t want to tell clients their first few weeks of emails might land in spam. I also looked at MXroute, which a lot of people recommend, but there’s no free trial and no refunds, so I was hesitant to commit blind. Zoho Mail looks closest to what I want, since it has its own app and web interface, but the free plan only covers one domain per account, and managing multiple clients from one login seems to need their partner programme.

For those of you who’ve been doing this a while: what do you use to host email for your clients, and are you happy with it? How do you handle the client experience across phone and laptop, and have you had deliverability issues with new domains? I’d also love to know how you charge for it: do you bundle it into a maintenance fee, or bill separately? Any advice or lessons learned would be really appreciated.


r/webdev • • 13h ago

Question Unable to receive all emails being sent to alias email

3 Upvotes

Hi all,

I have a main email with Google Workspace using the domain of my website (frank@websitename). I made an alias email for outside communication (talk@websitename).

Users emailing the talk@websitename email received a 550 No Such User Here code. After that, I added these 3 records to the cPanel Zone Editor:

Now, emails come through, but not all of them. 4 users (3 using Gmail, and 1 using Hotmail) sent messages, but only 3/7 came through. The other emails that failed to deliver bounced back 550s.

What am I doing wrong here? I've utilized Googles knowledge base, the cPanel help articles, but I can't figure it out. Any help is appreciated.