u/Kubura33

Cheap and performant Shared Hosting/VPS?

Hi,

I am looking for a Hosting that has datacentars in US (Colorado if possible), it can be a shared hosting or a VPS. I need to host small laravel application, I wanted to take Hostinger or Namecheap, but Hostinger has some shady crap about prices and after a year the email is not free anymore, Namecheap is cheap but I have read that their performance isn't that good.

Do you have any advices on what hosting to take? I wanted to check out Hetzner, they have US VPSs, but I think shared hosting could be better because the app doesn't need workers, nor any long running processes.

reddit.com
u/Kubura33 — 8 days ago

Multi tenant application, I need help with choosing the best approach

Hello,

TLDR; I am making a somewhat of a shop where each shop has its own subdomain, and I am now wondering whether the login for tenant (who manages the shop, no one else will be able to login) should live on its own shop domain or a different/centralized domain... Laravel sprout is used for multi tenancy.

I am starting to build a multi tenant application (first time dealing with the multi tenant app), and I need help from you. Sorry if it is not the right place, but here I am using laravel sprout for multi tenancy.

The current struggle I have is: where do I put the authentication for my tenants?
I am making somewhat of a shop, where the normal user will be able to browse items, make an order then get a link, send it to the shop owner and the owner can open it and it will lead him straight to managing the order (this is the reason why I need the authentication per subdomain)

What are PROS and cons of this approach? The con is that the tenant if he has multiple shops he will need to switch subdomains in order to manage everything... Also the guest and the auth will be shared per subdomain while if I keep the tenant login separate, the tenants can manage their shop from the other subdomain e.g. manage.subdomain.something.

P.S. Sorry, if this is not the right place for this subject

reddit.com
u/Kubura33 — 1 month ago