Closed Bug 64885 Opened 25 years ago Closed 25 years ago

Typing an invalid domain in browser loads http://localhost/

Categories

(Core :: Networking: HTTP, defect)

All
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: netdragon, Assigned: darin.moz)

References

()

Details

Build: Moz 0.7, NS6 System: Win2k Server: Apache Server for NT To reproduce: Run a web server. Type in http://www.netscapeismyfavoritebrowser.com/ or some other invalid domain on the Mozilla browser on the same computer. You should get your local server. I don't know why this happens, but it is annoying. I would much rather have an error page appear.
Related to bug 19073?
cute. doesn't happen for me w/ 1/4-4 [i know it's old, i have a /9 build around i'll upgrade soon]
Assignee: asa → darin
Component: Browser-General → Networking: HTTP
QA Contact: doronr → tever
also running w2k.
what if apache is not running? is this a winnt only bug?
s/winnt/win2k/
Confirmed on WinNT, but I used www.ihatebush.com but then, guess what, this domain is claimed already! B.t.w. I don't hate George W. Bush, but just a bit shorter.
I don't see this problem with a 2001-01-10 cvs build on linux. I get the "hostname not found" alert. Win2k-only? setting OS to Win2k.
OS: All → Windows 2000
Note: If I shut down the apache server, the problem goes away and I get a connection refused dialog box.
Also, I have noticed that Microsoft Internet Explorer does the same thing.
If IE is doing this, then it definitely isn't a mozilla bug. Get in touch with the Apache folks... they may be able to tell you more. ->marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
verified INVALID
Status: RESOLVED → VERIFIED
Oh, so something that is happening on IE is ok for Mozilla? If you type in an unknown server, then it shouldn't try to access a server on your computer. I am going to reopen this if I don't get a better reason than that.
Interesting... C:\>ping fdfsa.fdfas.com Pinging fdfsa.fdfas.com.netdemonz.com [128.113.151.94] with 32 bytes of data: Reply from 128.113.151.94: bytes=32 time<10ms TTL=128 Reply from 128.113.151.94: bytes=32 time<10ms TTL=128 Reply from 128.113.151.94: bytes=32 time<10ms TTL=128 Reply from 128.113.151.94: bytes=32 time<10ms TTL=128 Ping statistics for 128.113.151.94: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
Ok, I figured out the problem thanks to the good people at #mozillazine. I had a DNS suffix set as netdemonz.com and then that was bringing me back to my computer.
My point was not that we should strive for parity with IE, but rather... the fact that this bug could be shown under both IE and mozilla seems to strongly implicate something outside the browser, which was indeed the case.
You need to log in before you can comment on or make changes to this bug.