Newbie need help with LAMP and DNS
I've followed the linode guide for setting up LAMP
and I tried the mysqli_connect test in the guide.
At this point the DNS has not propageted so i accssed from the ip address of my linode.
The mysql failed to connect.
But using the same user and password im able to connect from ssh.
So I tried go back to the guide fail2ban and UWF part, seems like they are functioning like in the guides.
Then I tried resetting apache following this guide. (by this point DNS has propagated)
but when i tried simple page testing with index.html in the guide:
from topbathroom.co.nz it refused to connect.
from ip address of linode the simple page showed up no problem.
I tried topbathroom.co.nz/index.html and the simple page shows.
Not sure what the problem is. Is this a DNS problem?
and just wondering if it is safe to post your linode ip?
thank you very much
Ahh, seem to be a cache problem
my browser keeps connecting to https://topbathroom.co.nz
and that results in refused connection.
by clearing the cache and accssed http://topbathroom.co.nz the simple page testing completes with no problem.
so the problem now is mysqli_connect can not connect from browser but connects fine in ssh
Access denied for user 'myuser'@'localhost' (using password: YES)