How to host separate website & ERPNext instance in same server?

Hello all,

Currently, I am hosting ERPNext instance in subdomain console.example.com, and would like to create a custom website in main domain example.com. When I open example.com it shows “sorry, we will be back soon”.

Here I have only two options,

  1. Either make a new ERPNext site with main domain name and build website within ERPNext or,
  2. Make the domain separate and host it in another server.

Is there any solution, with which I can build my html site with main domain , and host ERPNext in subdomain?

If you want to have a non frappe website at https://mysite.com and ERPNext instance at https://whatever.mysite.com then have two VPS servers. Point your DNS and zone files to each seperate instance IP.

Hi,
To route requests to another framework or dir or whatever for a domain create a separate nginx conf as per your requirements.
Thanks