0
Welcome Guest! Login
0 items Join Now

SOLVED http://localhost/ redirects to http://www.localhost.com

    • Ted VERAN's Avatar
    • Ted VERAN
    • Jr. Rocketeer
    • Posts: 24
    • Thanks: 1

    SOLVED http://localhost/ redirects to http://www.localhost.com

    Posted 10 years 8 months ago
    • Hello there.
      On my computer (offline) I successfully installed a Joomla 2.5 Website.
      When I try to view the Site through my Browser I rather get a error,
      as http://localhost/mysite/ redirects to www.localhost.com/mysite/
      Can anyone explain to me what the solution to this is?
      Thanks in advance.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED http://localhost/ redirects to http://www.localhost.com

    Posted 10 years 8 months ago
    • it sounds like you don't have your webserver services running ?

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Ted VERAN's Avatar
    • Ted VERAN
    • Jr. Rocketeer
    • Posts: 24
    • Thanks: 1

    Re: SOLVED http://localhost/ redirects to http://www.localhost.com

    Posted 10 years 8 months ago
    • Thanks for the concern sir.
      I'm using Joomla 2.5 and my Webserver services are running.
      What would you suggest that I do ?
      Thanks in advance.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED http://localhost/ redirects to http://www.localhost.com

    Posted 10 years 8 months ago
    • check you webserver is using port 80.

      Also check you hosts file has 127.0.0.1 pointing at localhost (on windows it's in c:/windows/system32/drivers/etc/hosts).

      What happens if you use 127.0.0.1?

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Ted VERAN's Avatar
    • Ted VERAN
    • Jr. Rocketeer
    • Posts: 24
    • Thanks: 1

    Re: SOLVED http://localhost/ redirects to http://www.localhost.com

    Posted 10 years 8 months ago
    • Mr T, I'm grateful for your attention.
      After making several trials in various directions, I discovered that the trick lies with my XAMPP version. Actually, I've been using XAMPP 1.7.0, MEANWHILE - as I can deduce, Joomla 2.5 Templates work best with XAMPP 1.8.2 +
      XAMPP 1.7.0 has PHP 5.2 INSTEAD of PHP 5.4
      I hope this would help someone somewhere.
      Onceagain, THANKS

Time to create page: 0.066 seconds