GetSimple Support Forum

Full Version: trouble accessing site on LAN
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using GS v3.2.3 and very pleased with it.

My setup is XAMPP on Win 7 and I have no problems accessing my site on localhost, however, when I try to view the same site from another device on the LAN, I cannot access images, links or CSS. I just get text and broken links.

I am using http//:192.168.x.x/mysite to access from the LAN.

I searched the web thinking it mat be an XAMPP problem (and it might be) and some suggestion was made to relative links and localhost and that I should define HTTP_SERVER in a config file!

In \etc\hosts, I added
192.168.x.x mysite

but not sure where to define HTTP_SERVER (if, indeed, I need to).

Does anyone have an XAMPP/W7 setup that works on their LAN, and if so could they please offer some direction.

thank you.
Did you set your siteurl to ip and not local host?
Hi Shawn,
where do you mean? I used GS and xampp straight out of the box so, no I have not set siteurl to anything.
I am assuming siteurl is a variable? so I looked in gsconfig.php but there was nothing that resembled anything like.

Not sure where I should be looking.

thanks
settings page
Website URL:
should be ip
Hi Shawn,
did you mean admin/settings.php? I looked in there and did not find the url or ip
Sorry for being a numbskull Sad

thanks
I think shawn_a meant this:
[Image: Kijel_l_s_020.jpg]
Website URL: change it to your lan ip like http://192.168.x.x/
Also add subfolder too if you installed GetSimple into a subfolder (like http://192.168.x.x/subfolder/).

If you still cant access through lan then maybe your firewall (if you have one) is blocking it. Try to allow it.
Excellent. Thank you all.
I knew it wasn't a firewall problem as I am on a single subnet. It was a relative link problem because I could access the site but not the css etc.

Thank you all, your help was appreciated.