When I try to run localhost I get the following problem…
The page isn’t redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept
cookies.
Its the same with localhost/phpMyAdmin.
Can anyone provide any guidance as to how to remedy this?
Localhost is a name, typically associated with the machine the application is running on, there is no re-direction involved (although you can also implement a re-direct, but that’s another issue altogether).
Recommend:
Ping localhost to verify fundamental name resolution.
Ping the localhost IP addresses (127.0.0.x) if necessary.
Deploy a basic default webpage using only HTML in your /srv/www/htdocs/ directory (which is the default website location) that says something simple (I have one that simply says “It works!” in big, bold letters).
If you can get those to work, then the problem isn’t with resolving “localhost” it’s somewhere else (like a re-direct).