title: Connect to pgadmin client through reverse proxy
body: <p>I have a Postgres Database in private subnet on AWS and I want to connect to AWS.</p>
  
  <p>So i create an ec2 with httpd (Apache) as a reverse proxy in public subnet in order to forward my request to RDS database.</p>
  
  <p>User -> pgadmin client -> Reverse proxy on 443 -> RDS.</p>
  
  <p>As information, i can open only 443 and 80 on public subnet.</p>
  
  <p>my Apache configuration :</p>
  
  <pre><code>ProxyPass /rds  http://rds-link.compute.amazonaws.com:5432
  ProxyPassReverse /rds  http://rds-link.compute.amazonaws.com:5432
  </code></pre>
  
  <p>in Postgres pgadmin (my laptop) I tried to connect to database using <a href="https://link-of-reverse-proxy/rds" rel="nofollow noreferrer">https://link-of-reverse-proxy/rds</a> as host , but its not wokring.
  i receive the error : could not translate host name to address</p>
  
  <p>Did i miss something ?</p>
  
  <p>Thank you in advance</p>