LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-19-2006, 06:53 PM   #1
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
Web server access denied


I have a personal web server and its keep running fine.

There are something wrong today, I can not access my web on the server machine itself. It directs to the gateway router admin login popup, anyone can help to solve this please?
 
Old 01-19-2006, 07:00 PM   #2
bdogg
Member
 
Registered: Sep 2004
Location: Salt Lake City, UT
Distribution: Debian Sarge
Posts: 93

Rep: Reputation: 15
someone removed your port forwarding rules on your little router and put the administration on the port 80 (not a good thing). Reset your router to it's defaults and then go about reconfiguring it...perhaps someone has access to your router and is making changes?
 
Old 01-19-2006, 07:26 PM   #3
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Original Poster
Rep: Reputation: 30
I have a personal web server and its keep running fine.

There are something wrong today, I can not access my web on the server machine itself. It directs to the gateway router admin login popup, anyone can help to solve this please?

I don't think its the problem in my router, some common ports still forwarding and it didn't change at all.


I can telnet localhost 80 but NOT telnet www.mydomain.com 80

If I GET I have such error:
[root@mydomain httpd]# telnet www.mydomain.com 80
Trying my ip...
Connected to www.mydomain.com.
Escape character is '^]'.
GET
HTTP/1.1 400 Bad Request
Server: WindWeb/2.0
Connection: close
Content-Type: text/html

Web Server Error Report:<HR>
<H1>Server Error: 400 Bad Request</H1>
<P><HR><H2>URL parsing error</H2><P><P><HR><H1>GET</H1><P>Connection closed by foreign host.

Last edited by fhleung; 01-19-2006 at 07:27 PM.
 
Old 01-19-2006, 10:22 PM   #4
bdogg
Member
 
Registered: Sep 2004
Location: Salt Lake City, UT
Distribution: Debian Sarge
Posts: 93

Rep: Reputation: 15
do as root
'cat /etc/hosts | grep mydomain.com'

also
'nslookup www.mydomain.com'

also
'netstat -na'

and show here please
 
  


Reply


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
[IPTABLES] open ext access to web server on GW server kozaki Linux - Networking 3 08-27-2005 06:11 PM
XP Client Returns 'Access is Denied' Error When Trying to Connect to a Samba Server BuckRogers01 Linux - Networking 1 05-25-2005 12:55 PM
Samba server: access denied error vharishankar Linux - General 7 09-07-2004 01:17 AM
access denied to a windows 2003 server Tanc Linux - Networking 2 01-08-2004 10:06 AM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:30 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