[plugin] SaasAlias: Multiple domains and subdomains for bubble apps

Currently investigating.

Ok, so Netlify told us we apparently reached the max limit of 500 site deploys which blocked us from further deploys. After Netlify kindly increased the limit a bit for us the plugin works fine again. However, this limit is a serious scalability issue for us going forward. @gaimed @armcburn @Christophe_HK any suggestions how this could be solved?

2 Likes

Is the limit about the number of deploys per netlify account or per config file or per domain or…?

You can add 100 domains to whitelabel per netlify site. That makes a limit of 50.000. I think the business plan has higher limits.

Hello @gaimed,
Is what you call the “netlify site” an instance of bubble app + Saasalias ?

I searched for such info in the Netlify support database and netlify community, but it’s not really clear…

No. Every deploy with a config creates a netlify site. You can add up to 100 whitlabel domains to a config.

1 Like

And because you can deploy 500 sites (x 100 domains in a config) = 50.000 whitelabeld domains on a free netlify plan.

1 Like

OK, per config ! Understood, thanks Gaimed !

In my case, I create one config per deploy, so I should never hit the limit. Good !

Well. Each new config leads to one site. So the limit would be having 500 configs deployed.

Is this on the free plan? Can they raise this limit if you go into a paid plan?

If so, ensuring the cost increase (which is likely nominal) is built into the product profit and loss can solve this scalability. At 500 sites I imagine you’re making money already.

2 Likes

Yes indeed, they also advised us to upgrade the plan, thanks a lot for helping out!

1 Like

Awesome! Any chance you could share the $$ investment required with Netlify to increase the size limit? I’ve thought about this but never bothered doing the research as our customer base has a pretty high LTV per custom domain

1 Like

I’m setting up a URL redirection app to shorten URL’s and I’ve installed SaasAlias as a work-around for bubble not allowing slugs on index without being prefixed with /index/

I’ve setup a workflow to Add / Update Redirect (SaasAlias – Add / Update Redirect) for the URL when I add a new word to be used as the alias after the domain for the redirection. Is there a better way to handle this? Or is my only option to add a redirection for every alias I want to redirect?

Also, the other issue I’m having is the redirected page responds with a 404 code when scraped by facebook. How do I set this up so I don’t receive a 404 response for the redirection and instead facebook receives a 200 response code? (the full URL before redirection gives a 200 response: mypage.pro/index/test)

To replicate:

My SaasAlias – Add / Update Redirect settings:

request_domain: mypage.pro
request_path: /test
redirect_page: redirect
redirect_path: /redirect/test

Hi,

The link preview works if you add https. No idea why netlify is giving a 404 when doing http. I give back a 301 code. Can yo ucontact them.

For the redirect your only option is add it for every alias. The code is already very complex and I dont want to add regular expressions to it.

Hi gaimed, I’m seeing a 404 response code on facebook debugger for both https and http

Hi there,

The link preview is fine. So I dont get why there is a 404.

Not sure the problem comes from the SaasAlias plugin, as your Bubbleapp’s URL returns the 404 :
aff.at (bubbleapps.io)

Hi Ab, bubble support requested the following:

Ab, would it be possible to file a bug report about the situation that includes any context from your own troubleshooting of the plugin itself? That will help our bug investigations team to evaluate this the most quickly, since they’ll be able to ask any questions about the plugin itself and how that may be interacting with Bubble.

Can you first respond to why your normal bubble url is causing 404?

https://easyurl.bubbleapps.io/ and easyurl.io are both not displaying 404 error pages and both receive a 200 response when scraped. I haven’t setup a redirect for EasyURL.io – URL Not Found – Sphere Technical Associates … I have the redirect setup for mypage.pro/test which also doesn’t display a 404 page. It redirects using your plugin as you’d expect to mypage.pro/redirect/test (200 response) but when mypage.pro/test is scraped by facebook it receive a 404 error response.