Forum archive
Webserver works but cant access /var/www/
Hello.
I have a LAMP server installed, I use it for TeamSpeak and now want to have a webpage on my domainadress.
The domain.xx:12321 works but when I tried to access
domain.xx the error is:
Unable to connect
How and where do I start serch for errors?
Webmin (port 12321) and Webshell (port 12320) are not served by Apache. So the fact that Webmin works is only confirmation that your DNS mapping is configured properly for your domain and that your server is running (and of course that Webmin is running too).
So first thing to check is if Apache is running:
If that says that it's running (i.e. in v14.x IIRC it should be "active (running)") then that's a good start. If not then I suggest that you try starting it:
If that doesn't solve things, checking the error log is probably the next thing to do! Apache error log can be found: /var/log/apache2/error.log .
Hopefully that will give you a really good idea of what is going on. If it doesn't make much sense to you, please feel free to post it and I'll have a look.
Perhaps if you share a bit more about the setup I might have other ideas... E.g. what TurnKey version, where it's running and on what platform (e.g. local VirtualBox VM, local bare metal, remote VPS, etc).