Wordpress site showing IP address in address bar, not domain
My wordpress install is showing my IP address in the browser address bar instead of my domain name. My domain name ( paulapplegate.com ) is hosted at Google and an A record points to my droplet’s IP address (22.214.171.124) but in the address bar the URL looks like this http://126.96.36.199/wp-login.php?loggedout=true, instead of http://paulapplegate.com/wp-login.php?loggedout=true as you would expect.
What do I need to change to get what I expect, http://paulapplegate.com/wp-login.php ?
Do I need to change /etc/hosts ?
As an FYI I can’t access my WP install Settings-> General Page. I get the following error. “Safari can’t open the page"188.8.131.52/wp-admin/options-general.php” because the server unexpectedly dropped the connection. “ I will try to replace the file with one from the install.
I am lost and know just enough to be dangerous to myself.
Thanks for any help you can provide.