We have a web server hosted out of our office, and it works fine when people access the site from outside the office.
The problem is that when people are inside the office and go to the website (
www.example.com) it's very slow, as it goes out over the internet and comes back in.
Or LAN is Windows with Active Directory and our web server is CentOS with its own internet connection.
How can I set when users in my office want see website opens it from local network instead of going out of one internet connection and back in through the other?
Thank you I test this sulotion but I think I did wrong… I explain my network I have centos 5.8 server with 2 interface Eth1 with ip : 10.6.7.21 -> my modem range Eth0 with ip : 192.168.170.190 -> my office range (is other router for my windows network) In dns setting I set for www and .. my wan ip address : form exam 188.8.131.52 In my centos server I have 3 account (3website)
I want when I try from internal network with range 192.168.170.0 , website open with 192.168.170.190 and when users from external network want see website open from : form exam 184.108.40.206
right now external network with : form exam 220.127.116.11 work fine and no problem