LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-30-2015, 11:43 PM   #1
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Rep: Reputation: Disabled
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?
 
Old 10-31-2015, 12:15 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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.
 
Old 10-31-2015, 12:48 AM   #3
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Original Poster
Rep: Reputation: Disabled
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'
 
Old 10-31-2015, 01:02 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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.
 
Old 10-31-2015, 09:33 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123
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?
 
Old 10-31-2015, 09:54 PM   #6
sraidr69
Member
 
Registered: Mar 2015
Posts: 59

Original Poster
Rep: Reputation: Disabled
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...
 
Old 10-31-2015, 11:26 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123Reputation: 6123
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.

Last edited by frankbell; 10-31-2015 at 11:28 PM.
 
  


Reply

Tags
apache, website


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How much does it cost to setup and run a big website? Robert.Thompson General 5 07-14-2011 09:49 PM
I setup Bind9 for my own hostname/website, but can't see it on the web... rtoney5 Linux - Server 8 02-25-2009 06:50 AM
How to setup a blog for visitors of my Linux website. pching General 4 10-28-2008 02:42 PM
How to setup a website that runs from my HOME ADSL? seow_ming Linux - Networking 29 09-15-2005 10:50 AM
How do I setup ProFTPD so users can access my website CPUguy387 Linux - Newbie 3 07-10-2003 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration