How to direct subdomain to login page?

Hello! I just set my subdomain up and DNS settings for my app “app.example.com” — this is my first build.

How do I make it so when you go to “app.example.com” it loads my login page I created?

Any help is super appreciated!

Use index as login page OR use index as a redirect router.

1 Like

I have your exact usecase and I do exactly what @chris.williamson1996 has described above.

Simply have the login/signup form on the index page. And on any page where you need users to be logged in and they are not, you can redirect them back to the index page. On the login/signup workflow, you can add a step to route them to any page/view you want after authentication.

This topic was automatically closed after 70 days. New replies are no longer allowed.