Droplet resolving with IP but not with Domain name
I have created a Droplet and installed Openlite WP and everything is working but as I have the domain registered on Google Domains & setup there using Google nameservers the best I have been able to do is to get the site to showup by inputting the domain name but it always ends up resolving to the IP address. So if I input www.nespeca.net it will show the WP site but as an IP address. (22.214.171.124)
So I have 2 problems actually:
1- get the website to show up as a url when I input the domain (not as an IP when I input the domain)
2- attach a Let’s Encrypt SSL certificate the the domain hosted on Digital Ocean.
Seems that I have to leave the domain using Google nameservers as I am also using email forwarding from email@example.com to my gmail account and it doesn’t work if the nameservers are not set to Google.
Thanks for your help
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×