We are exploring a feature for reviewhornet.com where every customer gets a subdomain, like customer1.reviewhornet.com which forwards to another url like say reviewhornet.com?par1=val1&par2=val2 and so on. Was wondering if there is an out of the box solution out there which can help with this?
Is there any service that can help with this? How was your experience when you required such a service?
Hope this helps you:
https://serversforhackers.com/c/nginx-multi-tenancy
https://serversforhackers.com/c/server-setup-for-multi-tenancy-applications
With Laravel is pretty easy (but not trivial) ohdearapp published how they do it:
https://ohdear.app/blog/how-we-used-caddy-and-laravels-subdomain-routing-to-serve-our-status-pages
Can even setup to allow totally custom domains.
If you are using nGinx, then check out:
https://dabase.com/e/04055/
This will give you some help
if you manage your own stuff, you can do an http fwd with common http servers like nginx and apache just by config.
you also don't have to do fwding
lookup url rewrite for example
I was the original person who asked this question. After some search I came accross https://www.rebrandly.com/. It seems to have the features we were looking for. Not signed up yet though.
Just posting here in case it is useful for others.
Had the same Problem a few days ago! Caddyserver is the solution you're looking for
You can do something like this: