'Angular Universal / 502 Proxy Error - DNS lookup failure
I'm having a problem while I'm trying to deploy an Angular Universal to a production Linux Server.
The problem that I'm facing is that the servers returns a 502 Proxy Error ( can find it on: http://huntsmanstudio.gr/ ).
The configuration file is:
huntsmanstudio.gr.conf----------------
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName huntsmanstudio.gr
ServerAlias www.huntsmanstudio.gr
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://server.ip.addr:2000/
ProxyPassReverse / http://server.ip.addr:2000/
</VirtualHost>
On server.ts I have set the port to 2000
Thank you in advance.
I've reinstalled all things from scratch but nothing worked.
Bellow is my error.log:
[Fri Mar 25 19:24:01.768535 2022] [proxy:error] [pid 2979] [client 62.74.2.44:44733] AH00898: DNS lookup failure for: server.ip.addr returned by /
[Fri Mar 25 19:24:01.918258 2022] [proxy:error] [pid 2979] [client 62.74.2.44:44733] AH00898: DNS lookup failure for: server.ip.addr returned by /favicon.ico, referer: http://huntsmanstudio.gr/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
