Redirection in ubuntu

Asked by aneesh

can I make http redirection in ubuntu.Here my need is when anyone type " http:// 192.168.3.1" in webbrowser from my network it should automatically forward the request to 192.168.3.70 , which has a webserver running .

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apache2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
wojox (wojox) said :
#1

You can do this with PHP.

Or do you have a router you could just port forward that 192.168.3.70 ip?

Revision history for this message
aneesh (aneesholv) said :
#2

Shall I make ubuntu as router by insert extra LAN card and also, can I make
port forwarding in ubuntu router ? Please explain

On Mon, Jul 26, 2010 at 7:23 PM, wojox <<email address hidden>
> wrote:

> Your question #119009 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/119009
>
> Status: Open => Answered
>
> wojox proposed the following answer:
> You can do this with PHP.
>
> Or do you have a router you could just port forward that 192.168.3.70
> ip?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/119009/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/119009
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
------with regards,

                       Aneesh.T.V
                       Mob:9544067525

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Yes using iptables rule... here some related: http://ubuntuforums.org/showthread.php?t=1001083

Revision history for this message
wojox (wojox) said :
#4

Can you help with this problem?

Provide an answer of your own, or ask aneesh for more information if necessary.

To post a message you must log in.