Try ERPNext Buy Support Partners Foundation

Running php based website like wordpress along with ERPNext on Google Cloud

Hi friends,
We are hosting our ERPNext on Google Cloud. And its working all fine.

  1. Now we want to transfer our website which is a php website (wordpress). Please help me how I can do this?
  2. And how we can tell our server
    a. erp.website.com should point to ERPNext
    b. www.website.com should point to our php website.
    Thanks.
1 Like

Generally speaking, the best practice is to keep ERPNext on its own server. That said, it’s certainly possible to run other services along side it, though you run the risk of conflicting packages.

What you are asking here is not really about ERPNext but about general server administration. Your questions suggest that you don’t have much experience, so I would strongly advise you to not make these changes yourself. In summary, though, the task is to transfer the files to the new server, make sure all wordpress dependencies are available, and reconfigure nginx to handle wordpress requests appropriately. It’s hard to get much more specific than that without knowing a lot about your server configuration.

As for running ERPNext on a subdomain, the best way to do it is to use the command bench setup add-domain with appropriate parameters. Be careful, however, because this can definitely break your setup. You also need to update your DNS entries if necessary.

1 Like

Hey @mtajammul

I had the same issue. Refer to my solution here: