Get The Hostname of Your PostgreSQL Deployment

Want to connect your PostgreSQL deployment to your application and need to find your hostname? A hostname is a label or name that is assigned to a host connected to a computer network and that is used to identify the host in various forms of electronic communication.

Easily grab your host name through a few simple steps through your ScaleGrid account.

How to Find The Hostname of Your PostgreSQL Deployment

  1. Log into the ScaleGrid console, or create a free 30-day trial.

🚧

Must have a PostgreSQL Deployment Setup

If you haven't already, you must first create a PostgreSQL deployment before you can grab your hostname.

  1. Go to your PostgreSQL Cluster Details page and select the ‘Overview’ tab.
  2. Find the Command Line Syntax section at the bottom of the page to copy the command that can be used to connect your PostgreSQL deployment through postgres client.
949
  1. The server name following the ‘-h’ is the hostname of your PostgreSQL deployment, and in this particular case, it is ‘SG-help-1-master.devservers.scalegrid.io’.
  2. Jot down your PostgreSQL hostname to use to connect to your website or application.