I've been asked to develop an intranet website for a small company. This is something I can do, but I'm struggling with the deployment/network part where I am a total beginner.
Here is the network infrastructure of the organization:
WiFi access point----Linux server (Debian)----ISP router
The Linux server has bridged interfaces (through the use of bridge-utils) and is mainly used for logging the traffic. They have installed an Apache web server on the server and asked me to deploy my website there and redirect all user requests to www.company.com to the intranet website instead of reaching the company website www.company.com on the Web.
Can you tell me how to achieve this redirection ? What custom iptables -if possible- rules do I have to use ? Any other better option (is it possible to force the use of a local DNS...) ?
Thanks a lot for your help.