Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trouble accessing site on LAN
#1
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.
I'm no Einstein, nor do I profess to be. Just saying what I would try in the circumstances.
Reply
#2
Did you set your siteurl to ip and not local host?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
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
I'm no Einstein, nor do I profess to be. Just saying what I would try in the circumstances.
Reply
#4
settings page
Website URL:
should be ip
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
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'm no Einstein, nor do I profess to be. Just saying what I would try in the circumstances.
Reply
#6
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.
Reply
#7
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.
I'm no Einstein, nor do I profess to be. Just saying what I would try in the circumstances.
Reply




Users browsing this thread: 1 Guest(s)