Results 1 to 4 of 4

Thread: Wamserver 2 issue

  1. #1
    Join Date
    May 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Wamserver 2 issue

    Hi all,
    I have a problem with my webserver :
    I installed wampserver 2 on my win xp sp3 home server, and when I try to reach the pages from another computer, all links point to "localhost"

    (like : <link rel="stylesheet" href="http://localhost/lillou/wp-content/themes/default/style.css" type="text/css" media="screen" /> )

    of course, my pages aren't working at all...

    I don't understand where it comes from
    thanks in advance

    Dorian

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    This is because localhost can only be accessed on your computer - your computer acts as a host (I think). If you want to be able to access it from every computer you'd need to pass the localhost on to port 80 (or whatever host your internet connection uses).
    Jeremy | jfein.net

  3. #3
    Join Date
    May 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    and how do I do that?
    It's not a step written in any server setup tutorial.... so I thought it was automatic

  4. #4
    Join Date
    May 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm really puzzled.... I installed ubuntu server edition on my home server, installed lampp server.... and the problem remains the same (expect instead of localhost I have the ip of the local network). So the problem doesn't come from windows

    I read about DMZ... but enabling it didn't change anything

    EDIT :

    alright, the issue came from a bad wordpress configuration (site url)
    then, to reach the site from local network, add a line in hosts file
    that's it
    Last edited by dodoecchi; 01-31-2010 at 07:06 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •