CNAME DNS
record for your domain to the endpoint reserved for your PostgreSQL Server, take this screenshot for reference.'-h'
option with our domain as argument, but if you don't have a domain you can use the endpoint provided by LocalXpose. Also note the username
& database_name
as test
& test_db
respectively./etc/postgresql/12/main/postgresql.conf
with few of the newer parameters. postgresql.conf
path, You can find it with the following command.postgresql.conf
file and change it like so.pg_hba.conf
is in the same path as postgresql.conf
file, you will need to allow external connections by adding the following lines./var/log/postgresql/postgresql-12-main.log
.pg_catalog.pg_stat_ssl.