How to Host a Blog and Project on the Same Domain with Lovable?

0
12
Asked By QuirkyPanda73 On

I'm stuck trying to host a blog at /blog and another small project at /project-abc on my domain using Lovable. The issue is that once I connect a custom domain to Lovable, it locks the root domain, routing everything under that to the Lovable app, which means anything I try to add simply doesn't work. I've considered using subdomains like blog.mydomain.com, but I'd prefer to keep everything under one domain for SEO and branding. I've also looked into options like Cloudflare Workers or Nginx, but they seem like overkill for my situation. I want to tackle this myself without putting more work on my already overloaded tech team. If anyone has managed to solve this or knows of a simpler way to route /blog and /project-* without needing deep server knowledge, I'd really appreciate it!

2 Answers

Answered By TechSavvyFrog92 On

Unfortunately, once a custom domain is connected to Lovable, you can't really avoid routing all traffic to that app. That's just how domain management works; there's a single origin point for your domain. You could consider setting up another server that can manage routing for different endpoints, but that would require some configuration.

CreativeCodex88 -

Is there a tool or service that can help manage those routes? I’d rather not dive deep into server setups.

Answered By VibeCrafted88 On

Maybe it’s worth revisiting how you're setting everything up? Sometimes approaching it with a different mindset can help. What if you rethink your structure a bit?

CuriousDev21 -

What do you mean by 'vibing' better? Can I really fix this by just adjusting my approach?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.