First Website Setup
I am setting up my first server and cannot figure out why I get "NOT FOUND. The requested URL /Mysite/login.php was not found on this server." I have the Mysite folder with 755 permissions along w/the same login.php permissions. I also have a virtual server for the folder setup and is located in /var/www/Mysite. I am not that good with terminal and use webmin to get do my server work. What am I doing wrong here?
|
You need to check the logs of your web server. If it's Apache, it has an access log and and error log; check both. Unfortunately, I can't tell you how to do this with webmin, but there is bound to be a way.
|
The server is 192.168.0.13 and the machine I normally use is 192.169.0.10
Access log... 192.168.0.10 - - [30/Oct/2015:21:33:17 -0500] "GET /Schedule HTTP/1.1" 404 499 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0" 192.168.0.10 - - [30/Oct/2015:21:33:35 -0500] "GET /Schedule/login.php HTTP/1.1" 404 509 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0" 192.168.0.10 - - [30/Oct/2015:21:35:30 -0500] "GET /Schedule/login.php HTTP/1.1" 404 509 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0" 192.168.0.10 - - [30/Oct/2015:21:49:58 -0500] "GET /Schedule/login.php HTTP/1.1" 404 509 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0" 192.168.0.10 - - [30/Oct/2015:21:56:40 -0500] "GET /Schedule/login.php HTTP/1.1" 404 509 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0" 192.168.0.10 - - [30/Oct/2015:21:59:45 -0500] "GET /favicon.ico HTTP/1.1" 404 502 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0" 192.168.0.10 - - [30/Oct/2015:21:59:45 -0500] "GET /favicon.ico HTTP/1.1" 404 501 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0" Error log... [Sun Oct 25 06:26:43.140448 2015] [mpm_event:notice] [pid 11085:tid 139835435526016] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations [Sun Oct 25 06:26:43.140497 2015] [core:notice] [pid 11085:tid 139835435526016] AH00094: Command line: '/usr/sbin/apache2' [Mon Oct 26 06:34:08.871223 2015] [mpm_event:notice] [pid 11085:tid 139835435526016] AH00493: SIGUSR1 received. Doing graceful restart AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message [Mon Oct 26 06:34:08.878773 2015] [mpm_event:notice] [pid 11085:tid 139835435526016] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations [Mon Oct 26 06:34:08.878798 2015] [core:notice] [pid 11085:tid 139835435526016] AH00094: Command line: '/usr/sbin/apache2' |
There is no reference to /login.php in either log, so it would seem you didn't access this web site at all. However, somebody accessed /Schedule/login.php successfully.
Or perhaps there is a separate php log that gives you clues? I wouldn't be able to help you with that, though. |
More information might be useful. For example,
Are the proper ports open on the server's firewall? Are you trying to connect from within your network or from outside it; by IP or by host name? What do a ping and a traceroute return? Can you connect on the local server with http://localhost? |
Here's the info I have...
-This is a fresh install, not sure of firewall info and does not have it's own static ip exposed to the internet. -I have not done any firewall config as I am stuck on getting this thing setup so that I can work on websites from multiple computers on the intranet. -Looking to connect through ip. -PING 192.168.0.13 (192.168.0.13) 56(84) bytes of data. 64 bytes from 192.168.0.13: icmp_seq=1 ttl=64 time=0.654 ms 64 bytes from 192.168.0.13: icmp_seq=2 ttl=64 time=1.17 ms... |
Can you connect to the website from the local computer (the one the website is on) by pointing its browser to http://localhost?
If you can, the issue is connectivity across the network. If you cannot, the issue is with the website itself. |
All times are GMT -5. The time now is 07:20 PM. |