What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

resolv DNS on the router - hosts file or some similar ?

Speedy1205

Regular Contributor
Hi Guys,

probably it easy question for you but I don't understand 100 percent where to put this.

I use the ownloud script with a domain domain.com. So when I access the owncloud from internet (wan) its working fine. But when I use it from LAN / WLAN I would like to use instead the routers IP 192.168.102.1 that not all the traffics are routed through the 3G modem.

I would do a Entry in /etc/hosts (on the router)
192.168.102.1 domain.com

But client still resolving to the public IP. Any Ideas ? The config is just out of the box with no changes.
 
sorry for spamming... my mistake. I was on VPN that's why it didn't work as I wanted.

now its fine without any entry :-)
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top