Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Can't access website by domain name, but can by IP
I submitted this question to support about a month ago, but as I haven’t received a response yet I figured I’d ask the community:
I have a droplet setup with an IP of 18.104.22.168. On this droplet, I have setup a website (I setup ssh authentication and can use SFTP to transfer my website to the server, I also setup NGINX and a ufw firewall per DigitalOcean instructions). I also have the domain “kevinthomas.dev” registered through Google Domains. In Google Domains, I’m using Google’s name servers and have setup a custom resource “A” record pointing the kevinthomas.dev domain to the IP of 22.214.171.124. However, when I try and enter “kevinthomas.dev” in my browser, it will not connect. I can access the website by typing in the IP directly, but can’t access it by the domain name.
I have already contacted Google Domains about this and they told me that, from their end, everyone looks setup correctly, and that I should wait 48 hours for the DNS to propagate. I’ve waited over 3 days now, and it’s still not working, and when I contacted them again they told me that, once again, everything looks fine on their end, so I should contact the place that is hosting my server. I’m not sure what steps to take at this point to get my domain working.
Thanks in advance for any 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.×