Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Theme path (local, web)
#4
(2014-04-21, 17:19:59)zaphod Wrote: - when i put http://192.168.1.42/ the theme load verry well for local users but not for internet ones.
- when i put http://mydomain.net the theme load verry well internet users but not for local ones.

It sounds like your router does not do loopback (when you use an external address to go to your internal network).

Try adding your domain name and IP address to your hosts file:
Code:
192.168.1.42    mydomain.net

Keep the GS admin settings as mydomain.net. You must include any sub-domain, e.g., www, in both the GS settings and the hosts file.

Each machine on the local network will need that line adding to its hosts file to be able to see the site. (If you want to view the site on a browser running on your Pi, you may need to change the IP address to localhost in the Pi's hosts file.)

In case you need it, more information on modifying the hosts file is here.
--
Nick.
Reply


Messages In This Thread
Theme path (local, web) - by zaphod - 2014-04-21, 17:19:59
RE: Theme path (local, web) - by zaphod - 2014-04-21, 19:05:11
RE: Theme path (local, web) - by Carlos - 2014-04-21, 19:07:10
RE: Theme path (local, web) - by hameau - 2014-04-21, 22:06:16
RE: Theme path (local, web) - by shawn_a - 2014-04-21, 23:29:53
RE: Theme path (local, web) - by zaphod - 2014-04-21, 23:37:10
RE: Theme path (local, web) - by shawn_a - 2014-04-21, 23:48:32
RE: Theme path (local, web) - by zaphod - 2014-04-21, 23:51:45



Users browsing this thread: 1 Guest(s)