How to deploy HTML Site at Root and Dapp in sub directory?

I have 2 questions about deploying to the Moralis server, if you can possibly point me in the right direction or provide me with some more information, I will really appreciate it.

  1. Is it possible to deploy a html website/landing page in the root directory and then deploy dapp in a sub directory. If yes can you please provide the command required for this?
  2. Can you perhaps send me a link on how to connect domain name to moralis server.

If you have the answer please email me at [email protected]

Regards Chaun

you can deploy a html website with moralis-admin-cli deploy: https://docs.moralis.io/moralis-server/tools/moralis-admin-cli#deploy

I don’t know exactly what you mean by deploy dapp in a sub directory, what kind of dapp it is (html, react, something else)?

you can not set now a custom domain to your Moralis Server, you’ll have to host the custom domain somewhere else for now.

Thanks for your reply

So we want an html landing page / site in the root directory eg : https://www.landing-page.com

And then deploy the react app at https://www.landing-page.com/app/

I think that you could do that, with one deploy that deploys both at the same time for example