Streaming live at 10am (PST)

How to set up redirects?

Background: Originally, I built a custom site for my startup (react/rails), with landing page and web app in the same codebase. The landing page currently lives at “mystartup.com” and the app is “mystartup.com/app”.

I re-built my landing page using webflow, which is currently live on “landing.mystartup.com” and want to redirect JUST the root “mystartup.com” to this webflow subdomain.

I want to AVOID redirecting “mystartup.com/app”, because it has the app functionality.

Is this possible? If so, how would you do it?


Here is my site Read-Only: https://preview.webflow.com/preview/the-rotation-landing?utm_medium=preview_link&utm_source=designer&utm_content=the-rotation-landing&preview=dbb16166b1dc03efa6eb177a561fb379&mode=preview
(how to share your site Read-Only link)

Management of redirects on the root domain would have to happen using the functionality of whatever web server platform is hosting the domain. Essentially you would have a rule that left /app alone and redirected everything else.

If it is Apache then the docs you want are located here:
https://httpd.apache.org/docs/2.4/rewrite/remapping.html

For Nginx use:
https://nginx.org/en/docs/http/ngx_http_rewrite_module.html#return