• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Angular App and express.js on temp domain

_phil

New Pleskian
Server operating system version
Rocky Linux 8
Plesk version and microupdate number
18.0.55 Update Nr. 2
Hi,

I have two temporary domains for testing (I couldn't connect real domain at the moment). On one domain, there is an angular app running, on the other domain, there is an express.js backend running. The express.js application is working as I can query data from rest endpoints with postman and browser.

When I try to access these enpoints from my angular app, I get status code 428. Can someone give me a hint what's going wrong?

I've added this to nginx config: add_header 'Access-Control-Allow-Origin' '*'; because I also want to access the backend from my local develop environment.

Cors in express.js is also set to origin: "*".

Is there any configuration I have to do in plesk?

Thank you.
 
The test domains display a web server based confirmation message that these domains are for testing purposes only when they are first opened. Unless this message is confirmed by the requestor, the web server won't deliver the page. This became necessary, because some test domains were abused for phishing, so we need to make Internet users who are directed to such pages aware that these are no authentic pages, but test addresses.

A workaround for you could be to use subdomains for testing. Just use subdomains of any of your domains. They won't cost you, yet you can have the full feature set on them.
 
Back
Top