I want to setup wordpress at domainnamecom and erpnext on erpdotdomainnamecom. I have setup erpdomainnamecom using multitenancy but domainnamecom is also serving files form erpnext and showing erpnext " Sorry! We will be back soon " page. How to configure it using nginx
You can check with the domain provider from whom you purchased domainnamecom, maybe they can help you with some configuration in the control panel of the domain to achieve this.