Mobile App and website project temporarily hide the website

Hi all,

I have a job with a back end project (database and website) and mobile app project (gets the data from back end).

They have an existing website hosted on Squarespace at www.client.com

I need to go live with the mobile app but not the website.

The app will communicate with the backend via the domain app.client.com (made up obviously) which the DNS will point to the live backend server.

Then later I will change the DNS of www.client.com to point at the live server when they want the website launched.

I will be using portainer and traefik to manage the docker and SSL on the live server.

My question is, how do I set this up so that if someone visits app.client.com in their browser they get redirected to www.client.com

This way the new website stays hidden until the DNS for www.client.com is changed to point at my live server rather than their current host?

Would this be on the server, in Wappler or using traefik?

Thanks

Paul

Community Page
Last updated: