LAB 10 - Http 404 Error- File does Not Exist

asked 2020-09-18 19:19:53 +0000

skaragozian@gmail.com gravatar image

in lab 10 when I browse for: www.chappellu.co/nothere.htlm (file which does not exist) on my PC I only see DNS - Standard Query Response oxe.. No Such Name A www.chappellu.com and stops there. but i Don't see any other HTTP /1.1 404 error responses ? as the Book shows in page-119 (WS101 book)

Can some explain, agree or disagree ? Thx Sarkis

edit retag flag offensive close merge delete

Comments

Your first link contains a typo (missing "m" in TLD). It should be http://www.chappellu.com/nothere.htlm and that domain and link works for me.

JasMan gravatar imageJasMan ( 2020-09-18 21:25:47 +0000 )edit

I Know that's what I put in intentionally to see what happens and looking for http Error 404 but instead I only see DNS Query-Response : No Such Name A www.chappellu.com and stops there. but I never see the /http 1.1 404 error like the Book shows in page 119 of WS101 -2nd Edition Book.

ALso I forgot to Mention : my Desktop is connected to Port1 of Netgear GS105Ev2 managed 5-Port Switch, and WShark is running on my Lenovo Latop connected to Span-Port4 of same GS105E switch then switch port-5 to my LAN - with -> Another 8-Port un-managed Netgear Switch --> to Spectrum Router > Modem - Out To I-net ..

Hope this explains more. Thx Sark

skaragozian@gmail.com gravatar image[email protected] ( 2020-09-19 03:49:03 +0000 )edit

Try a display filter of: frame contains "chapp"

No.     Time           Protocol Length Info
    313 7.738193       DNS      77     Standard query 0xaf8d A www.chappellu.com
    331 7.882570       DNS      576    Standard query response 0xaf8d A www.chappellu.com <snip>
    335 7.963902       HTTP     490    GET / HTTP/1.1 
    339 8.150515       HTTP     681    HTTP/1.1 301 Moved Permanently


The redirect is to a https site which makes it tough to look for http.

location: https://www.chappell-university.com/nothere.html\r\n


Here is again with the full URL:

No. Time    Protocol    Length  Info
282 19.764508   HTTP    502 GET /nothere.html HTTP/1.1 
288 19.890371   HTTP    693 HTTP/1.1 301 Moved Permanently 

location: https://www.chappell-university.com/nothere.html\r\n


(See http-errors101.pcapng in the book supplements for an example capture showing the old site)

Chuckc gravatar imageChuckc ( 2020-09-19 04:44:34 +0000 )edit

That looks like your DNS server is not able to resolve www.chappellu.com. Have you tried to ping the address? Just to see if "ping" / your OS is able to resolve it. If yes, does your browser manage the DNS querys for websites? If you're using Firefox, try to disable "DNS over HTTPS" or use another browser. If no, change the DNS servers for you client.

JasMan gravatar imageJasMan ( 2020-09-19 12:54:42 +0000 )edit

Much Appreciated Chuck, Now I see both DNS req. Queries and Responses as well as the HTTP/1.1 301 moved Permanently (error) response. When I tried it from the laptop that is on Span-port4 of Netgear GS105E manageable switch, Before when I was trying from a Desktop on P1 of GS105E anyway it Is clear Now, Thx.

One more Qn? How doe you copy or save those sections you pasted on you Ans. Page ? Still have a bit more to learn ... :)

Sarkis

skaragozian@gmail.com gravatar image[email protected] ( 2020-09-19 17:34:53 +0000 )edit


File -> Export Packet Dissections -> As Plain Text...

Packet summary line
  Include column headings
Chuckc gravatar imageChuckc ( 2020-09-19 20:08:01 +0000 )edit

Thanks again Chuk. Got It :) now.

skaragozian@gmail.com gravatar image[email protected] ( 2020-09-19 20:29:12 +0000 )edit