• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Search results

  1. P

    Question How can I run ReactJS as the frontend and NodeJS as the backend?

    The domain/subdomain approach is described in my May 3 message, but I was striving for a single top level domain only solution, which seems cleaner to me, but it might be a personal preference kind of thing. I think the .htaccess file for the React front end is required for both the single...
  2. P

    Question How can I run ReactJS as the frontend and NodeJS as the backend?

    I don't know what an "`api.*` subdomain" is, and I'm not sure which of my problems it avoids, wouldn't mind understanding this. I'm glad to hear you've had some success. I'd been in the development stage and had started this thread in anticipation of eventual release to the server, which I...
  3. P

    Question How can I run ReactJS as the frontend and NodeJS as the backend?

    I now have a complete solution to serving a ReactJs front end and a NodeJs backend out of single Plesk domain. All that was required was a slight improvement to the .htaccess file described in the previous message: Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_URI} !/abcd/.*...
  4. P

    Question How can I run ReactJS as the frontend and NodeJS as the backend?

    I've found an even simpler approach that just needs a little help: Put your NodeJs directory in httpdocs. Put your React app in the NodeJs directory. Build the React app. On the Plesk NodeJs page for the domain set Document Root to the React build directory, Application Root to the NodeJs...
  5. P

    How to run React JS frontend, Node JS backend in Plesk?

    A simpler and more complete answer has been posted to How can I run ReactJS as the frontend and NodeJS as the backend?
  6. P

    Question How can I run ReactJS as the frontend and NodeJS as the backend?

    I was able to get a React frontend working with a NodeJs backend using Plesk. This takes a different and simpler approach than the one described above that is just for the React portion: In a new domain create your React FE app and build it. Set the domain's Document Root to the React app's...
  7. P

    Question How can I run ReactJS as the frontend and NodeJS as the backend?

    I have a partial answer. I now know how to run ReactJS instead of NodeJS as the frontend for a Plesk domain. I followed these steps: Go the the Websites & Domains page and click on Add Domain. You'll be brought to the Adding New Domain page. Click on the appropriate box. I clicked on...
  8. P

    How to run React JS frontend, Node JS backend in Plesk?

    I have a partial answer. I now know how to run ReactJS instead of NodeJS as the frontend for a Plesk domain. I followed these steps: Go the the Websites & Domains page and click on Add Domain. You'll be brought to the Adding New Domain page. Click on the appropriate box. I clicked on...
  9. P

    How to run React JS frontend, Node JS backend in Plesk?

    I just checked my NodeJs settings at Plesk and they are: Document Root: /httpdocs/client/src Application Mode: production Application URL: http:// ...etc... Application Root: /httpdocs/client Application Startup File: src/App.js ReactJs has been installed in /httpdocs/client. The...
  10. P

    How to run React JS frontend, Node JS backend in Plesk?

    Thanks for the information. I had already set up a domain in Plesk. I installed NodeJs as a Plesk extension. Under the Dashboard column for the domain I can click on Node.js to bring me to a page to set up Node.js. Is your suggestion to set "Application Startup File" to be the React client...
  11. P

    Question How can I run ReactJS as the frontend and NodeJS as the backend?

    I posted a reply to the thread How to run React JS frontend, Node JS backend in Plesk?. The thread title asks the exact question I need an answer to. Mine was the first reply and no one's responded. I see now that that thread is in the General Discussion forum, so I'm posting the question...
  12. P

    How to run React JS frontend, Node JS backend in Plesk?

    I have the same question. Getting nodejs going was straightforward, but I'm struggling with the reactjs portion. I was able to start reactjs like this: yarn create react-app client yarn start A browser window opened. On a Plesk nodejs website it seems like nodejs has to take the lead...
Back
Top