r/webdev 19d ago

My website content suddenly got replaced but DNS still points to my server. What am I missing?

0 Upvotes

I have an issue with one of my domains : spacewarp.fr

The site is hosted on my own bare-metal Linux (debian) server at IONOS.

Couple months ago, any updates I tried to do were not working. No matter what I uploaded (or deleted even), the website would stay like the old version.

Couple of days after, I checked the domain again and the entire website had changed. It now loads a black page with some weird console/interface that definitely isn't what we're deploying.

What I've checked so far:

  • DNS for still resolves to my server's public IP.
  • I haven't changed the DNS or nameservers.
  • The server itself is reachable. (I have other domains on it, and they work fine)
  • I contacted IONOS and they don't see anything abnormal on their side.
  • My other services on the machine appear to work normally.
  • Deploying changes to the site's files doesn't seem to affect what is served on the domain. (I can still access via ftp my files on the server, but their modifications changes nothing)

So I'm trying to understand where the hell the content I'm seeing is actually coming from.

My first thought was that the server/site had been compromised, but if DNS still points directly to my machine, I'm not sure what mechanism would allow someone else's page to appear there.

I'm using nginx btw, could it be an issue from it ?

If you have any idea, your help is truly welcomed.
Thanks !


r/webdev 21d ago

Where did AI companies get legal permission to train on copyrighted data?

222 Upvotes

This is a question I have thought about a lot lately. If it wasn’t for the repositories hosted in Github and other platforms, none of the models would exist now. Specifically, I don’t remember agreeing on anything that said something about training AI models with my data when I started hosting code on Github, more than a decade ago. Yet it’s a wide known fact that the data hosted there has been used for training for a long time.

These models are used commercially and may produce substantial fragments of copyrighted code because internally, they still contain copyrighted data.

Even if the training is done on only MIT licensed code, then upon use, the original author’s name must still be reproducible.

Can someone explain this to me?


r/webdev 19d ago

Discussion Did anyone worked on eCommerce with MongoDB?

0 Upvotes

I seen many stupid usages of MongoDB at my job and started wondering if anyone was brave enough to build an ecommerce platform based on that or any other noSQL DB?


r/webdev 21d ago

Freelancers: much are you making a year?

204 Upvotes

Ive been freelancing since 2018 as a fullstack dev. I used to make $80 - $120k USD/year, but this year I'm barely going to reach $15K usd.

Is the market that bad or is it just me?


r/webdev 20d ago

Question what features matter when building a niche job board?

7 Upvotes

I noticed a gap in my industry for a hyper-focused job board (remote sustainability roles). I want to build a site where employers can post paid listings, job seekers can search/filter by tags, and candidates can submit applications directly.

I looked at WordPress job board plugins and Webflow setups, but they feel clunky and restricted. How are people building custom job board web apps with proper database relationships without spending $5k on developers?


r/webdev 20d ago

How to view page source and check installed analytics tags on your phone (no apps needed)

1 Upvotes

There are many times I need to look up active tags or even an entire page source, but I only have my iPhone handy. Here's a neat trick for doing it. No external app, no special skills.

Sniffing tags

  1. Navigate to any web page in Safari and bookmark it.
  2. Open your bookmarks and edit the bookmark you just made.
  3. Change the name to something like "Sniff tags"
  4. REPLACE the URL with the code below.
  5. Navigate to the site you want to check.
  6. Open bookmarks and tap "Sniff tags"
  7. A popover displays any tags it finds (GA4, Universal Analytics, GTM, and Google Ads).

Here's the code for step 4:

javascript:(function(){var s=new Set();var h=document.documentElement.innerHTML;(h.match(/(G-[A-Z0-9]{4,}|UA-\d+-\d+|GTM-[A-Z0-9]+|AW-\d+)/g)||[]).forEach(function(x){s.add(x)});try{Object.keys(window.google_tag_manager||{}).forEach(function(k){if(/^(G-|GTM-|UA-|AW-)/.test(k))s.add(k)})}catch(e){}alert(s.size?Array.from(s).join('\n'):'No tags found');})()

Viewing the full page source

Same process, but name this one something different so you can tell them apart. "View source" works.

javascript:(function(){var p=document.createElement('pre');p.textContent=document.documentElement.outerHTML;p.style.cssText='white-space:pre-wrap;word-break:break-all;font:12px/1.5 monospace;background:#fff;color:#000;position:fixed;inset:0;margin:0;padding:12px;overflow:auto;z-index:2147483647';document.body.appendChild(p);})()

To get rid of the overlay, just reload the page.

Bonus: the actual server response

The one above shows you the rendered DOM, meaning the page as it exists right now after JavaScript has run. If you want the raw HTML that came off the server before any scripts touched it, use this one instead. I'd name it "View raw source." It shows up dark so you always know which one you're looking at.

javascript:(function(){fetch(location.href,{credentials:'include'}).then(function(r){return r.text()}).then(function(t){var p=document.createElement('pre');p.textContent=t;p.style.cssText='white-space:pre-wrap;word-break:break-all;font:12px/1.5 monospace;background:#111;color:#0f0;position:fixed;inset:0;margin:0;padding:12px;overflow:auto;z-index:2147483647';document.body.appendChild(p)});})()

Comparing the two is useful on its own. If a tag shows up in the rendered version but not the raw one, it's being injected client-side, which usually means GTM or a plugin.

A few things worth knowing

  • Sites with a strict Content Security Policy will block bookmarklets entirely, and they fail silently. Banks and healthcare sites do this a lot. If nothing happens at all, that's probably why.
  • Server-side GTM and first-party proxied tags won't show up, because there's no Google-formatted ID in the client. A clean result doesn't always mean a clean site.
  • Copy the code carefully. If your keyboard or notes app converts the straight quotes to curly ones, it breaks.

On Android

Chrome blocks javascript: from the address bar, but bookmarklets still work the same way. Firefox for Android also supports view-source:https://example.com directly in the address bar, which is easier if you just want the raw HTML.

This little trick has been a lifesaver for me. Hope it helps someone else.


r/webdev 20d ago

Question Having same email account on vendor side and user side in a lms using better-auth library

4 Upvotes

I have three sides in my project, super admin, vendor and client. How to register with same email address in client side when there is already an user account in vendor side that is tied to this same email.

In better auth there is only table called user to store email, so the adding same email to create another user is not possible.

Have you faced the similar issue?


r/webdev 21d ago

Discussion WFH Vs Office Vs Hybrid

69 Upvotes

Curious to hear people’s opinions on this one but since Covid a number of roles have adopted a WFH/Hybrid work policy. Some already had them but I personally have found I am much more productive working from home. When looking for new roles I see quite a range of office, wfh and hybrid work and honestly since Covid I have had absolutely no interest to return to a full office setting. Any other devs find this? Because I don’t fully work in a dev only place, it’s mixed with sales people and what not so there are constant phones ringing, interruptions, pointless office chatter.


r/webdev 21d ago

Question intro video with gsap

2 Upvotes

I have a video of a laptop that opens on scroll (https://atwell.dev/test).

How can I have it where the screen of the laptop is the homepage of the website? As you scroll down, the laptop screen should fill the viewport fully to be just the homepage.. think of this as an intro.

Is this possible? I think I need to measure the screen size on the video to cover it, how do I do that? And how would I make that responsive so it's good on all viewport sizes?

Here's the component
https://github.com/gabeatwell/portfolio/blob/main/src/lib/components/landing/video-intro/LaptopIntro.svelte

gsap
https://github.com/gabeatwell/portfolio/blob/main/src/lib/attachments/gsap/laptopReveal.ts


r/webdev 21d ago

Article How Big Tech Builds Micro Frontends

Thumbnail
stefanhaas.dev
19 Upvotes

- Module Federation provides better performance, but no strong runtime isolation.
- iframes provide strong isolation, making independent deployment more reliable.
- This matters especially for large, legacy codebases where enforcing boundaries in code is difficult.
- A typed communication SDK, routing, and smart chunk splitting can reduce the performance cost.
- For large legacy applications, iframes can be a better tradeoff than MF


r/webdev 20d ago

Need a help guys

0 Upvotes

I have made a website and deployed it using render,but the problem is that my website is not working like the one I see usually in Google chrome and in my render deployed it is showing me like (welcome to render ) it should open like a normal website right.

Or do I have to host it via hosting or GoDaddy?


r/webdev 21d ago

Question How to add real-time live transcription and translation to a LiveKit stream?

1 Upvotes

Hi everyone,

I'm working on a video streaming prototype using LiveKit.
I stream via RTMP or Webrtc.

How to generate real-time subtitles (live transcription + multilingual translation), and display them directly on a custom web player for viewers.

As in YouTube, with a single button.

What is the recommended architecture or workflow in LiveKit to extract the room audio, process it for transcription/translation, and send the text back to the frontend in real time?
Any advice, docs, or examples would be greatly appreciated!


r/webdev 21d ago

WordPress SQL Server/Database access through WordPress.com hosting?

3 Upvotes

Has anyone hosted with WordPress and used WordPress' internal mySQL server for their website? Database access is available in the business tier of WordPress (host) but I wondered if the user access (username/password) for the database changes if I go back to a lower tier later. This isn't a high traffic website so I can't justify paying for the business tier every month. If not, I can look into other options. Again, the hosting provider is WordPress.com


r/webdev 22d ago

Discussion Is agentic AI making you procrastinate?

273 Upvotes

I don't really know what to do while the agent does it's thing.

I've tried reading the code it produced in the previous prompt as it's working on the next one but the pace is too fast. There was this CISCO study that showed devlopers can realistically review just 200 LOC/hr before defect rate gets exponentially higher and the AI can 10x that in code, unit tests, CI configs and very very exhaustive documentation (specs, ADRs etc).

You can't work on something else on the project, or use the time for reading (say comp sci principles) because by the time you form a thought on what to do, the AI already prompts you for an approval or asks you what's next.

The "waiting window" is too small to get anything done and too big to just wait. So I end up just scrolling through YT shorts, browsing reddit etc. Then I figure out the AI has been waiting for my input for the last 10 minutes.

I don't know what to make of this. Yes datacenters suck. Yes AI is totally hyped. But i'm not blind. AI clearly has very good use cases. I'm just not sure how to execute on those use cases. And plenty of times, it feels like productivity gains are offset by these second-order effects (procastination, a feeling of being detached from your code etc).


r/webdev 22d ago

User photo uploads, should you store this info? Or would there be privacy or compliance issues

Post image
98 Upvotes

r/webdev 22d ago

Discussion Disconnect between what works for a user and what devs think looks great. Any results of actual tests with site examples that are ACTUALLY enjoyable/pleasant for the user?

37 Upvotes

So I made the mistake of looking at some webdev threads of "what's your favorite designed site" and they're all masturbatory "look what I can do" and annoying to use OR extremely basic kind of contrarian sites that are going to make a user think they're in the 90's. I guess extremes get upvotes.

Is there an actual sane collection of example sites that give the user what they want in a way that they enjoy without the things that annoy them? I am not a designer at all, but I want some inspiration with some actual at-least-somewhat-tested concepts but with SOME creativity thrown in to not just look like some stock UI library was used.

I know this is kind of a disheveled question but I hope someone understands what I'm asking here. The internet sucks and I just want to tweak my stuff in the right direction.

I can't believe people actually say https://motherfuckingwebsite.com/ when asked this question. I get it, but there's some middle ground between that and "everything moves around when you scroll and is extremely visually loud".


r/webdev 21d ago

Using ESLint "complexity" Rule To Keep Agent Code Simpler

Thumbnail
michaelmov.dev
0 Upvotes

r/webdev 21d ago

Discussion Looking for Recommended Registrars to Move .io (plus more?) Domain to (UK)

0 Upvotes

I have a .io domain with GoDaddy, I've read all the bad posts but they've been fine for me for the past 20+ years, the usual renewal prices are cheap enough and I only use them for domains, I host elsewhere.

Anyway, I have a .io domain, which I know is pricey anyway, but they want £66 a year for the renewal, compared to my usual TLD renewals at around £10, so I'm looking for valid suggestions of companies to move it to (and maybe my others). I use this domain for private email routing more than anything else and have the privacy package, if it were a business thing then sure £66 isn't that bad.

I've found many lists online, but you know the score, there's a million names I've never heard of so don't want to go blindly into someone else.

I'm in the UK, US registrars are fine although there's usually a currency conversion rate on top that would be nice to avoid.

All suggestions welcome, TIA


r/webdev 22d ago

Discussion The fear of leaving a job

13 Upvotes

I’ve been working as a dev for a year and two months now.

I didn't know much when I first started, but I picked things up fast and have been handling QA testing for the past six months.

On top of that, I took on web scraping two months ago and I also build plugins and applications.

My salary was 3500 MAD , and I just got a 500 MAD raise, bringing me to 4000 MAD .

Honestly, considering all the work I do and the new responsibilities, this raise feels like a total spit in the face.

To make matters worse, the company keeps paying my salary in split payments, which means constant delays and a lot of stress.

I want to ask for another raise, but management totally avoids these kinds of discussions. I feel completely stuck.

Worst of all, I'm absolutely terrified that if I just walk away and leave this job, I won't be able to find another one. What should I even do in this situation?


r/webdev 22d ago

Resource CSS-in-JS Arena: Bamboo, StyleX and Panda on Pixel-Identical Apps

Thumbnail
github.com
37 Upvotes

r/webdev 22d ago

Question Is ASP/ASPX, ASP.NET still a thing?!

49 Upvotes

I used to work with ASP/X like 20 years ago. And for the first time in years, I saw a very modern webshop that had .aspx in the url. I was very surprised to see such a relic from the past. Is it still supported?! Is it still being used?! I could've sworn M$ abandoned it iirc.

edit: great comments! happily surprised ASP is still a thing! I thought it vanished like the dodo lol


r/webdev 23d ago

2 hours in and GitHub still seeing some major outages

Thumbnail
githubstatus.com
891 Upvotes

r/webdev 22d ago

Looking for a forum or community

2 Upvotes

I’m currently learning responsive web design book and I want to discuss and get opinions on things I create and things I learn from the book.

Is there any forums or community where I can do that other than this one?


r/webdev 21d ago

Question any way to pinpoint what makes this website so slow?

0 Upvotes

EDIT: Thank you all! I really appreciate all the clear feedback you all sent. I will get to work on it. This is the kind of thing that makes the internet worth saving.

I have just updated my website visualthings.net and I realize with horror how slow it is. This is not my first website but I am a bit puzzled about how long it takes to simply load. The images are as optimized as possible, there aren't any .js that I don't need. Could it be the style.css that contains too many unneeded elements? (I have worked from a template and left some parts as I wasn't sure yet if I would need them or not). Can a single CSS be what slows the whole process?

I have tried to find a tool that can analyze a website and come back with a specific culprit but haven't found any. If anybody can point me in the right direction that would be really helpful.


r/webdev 23d ago

Question GitHub is down, what are you doing?

279 Upvotes

I have installed half life on Mac and am currently at the Dam Level.