localhost keeps on redirecting to www.localhost.com

Problems with the Windows version of XAMPP, questions, comments, and anything related.

localhost keeps on redirecting to www.localhost.com

Postby akira_yuki13 » 08. October 2012 12:12

Hi there,

Hope someone will help me coz im a big pinch right now. As the subject says, i have XAMPP in my PC, i am a joomla user and i use xampp for local development of any website. At first it is working fine, but suddenly whenever i try accessing localhost(in Google Chrome and Firefox, IE seems to have no issue with it but i dont want to use IE) it keeps on redirecting me to www.localhost.com, i searched Google but i cant seem to have a good answer. Please help me solve this problem. I' ll be glad to give you more information.

Here is my host file:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost

And here is the result if i ping localhost:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

Pinging MY-PC [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Thanks,

Akira

Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
akira_yuki13
 
Posts: 2
Joined: 08. October 2012 11:49
Operating System: Windows 7

Re: localhost keeps on redirecting to www.localhost.com

Postby JonB » 08. October 2012 18:49

turn off the browsers address completion features.
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: localhost keeps on redirecting to www.localhost.com

Postby akira_yuki13 » 09. October 2012 15:09

JonB wrote:turn off the browsers address completion features.


Can you specify on how to do it on Chrome if you dont mind? Thanks
akira_yuki13
 
Posts: 2
Joined: 08. October 2012 11:49
Operating System: Windows 7

Re: localhost keeps on redirecting to www.localhost.com

Postby WilliL » 09. October 2012 20:05

do you know google? Its a nice searching engine - have a try:
https://www.google.de/search?q=chrome+turn+off+address+completion+feature
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 115 guests