Can access the site with /phpmyadmin but can't through normal IP or Domain.

Posted October 16, 2016 3.1k views

So the problem is basically title. I can’t access my main site through my IP or my domain, but i can access it’s phpmyadmin through ip or domain. Basically saying cant find it’s DNS adress. Can’t access it through Chrome or edge or even IE. What’s even more strange is that it worked before but i reinstalled the whole server and same web files and the settings should be the same but it isn’t responding now. Any help would be appreciated.

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.

Submit an Answer
1 answer

A DNS error would generally point me away from your droplet and to your DNS configuration. This would be the first thing to check. If you can share the domain name here or provide some details on what web server you are using or your virtualhost configuration we can help in troubleshooting. The following guides are a good place to start:

by Brennen Bearnes
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 16.04 server.