Community discussions

MikroTik App
 
bakra
just joined
Topic Author
Posts: 8
Joined: Fri Jan 08, 2010 2:23 pm

Redirecting IP Address

Fri Mar 09, 2012 12:02 pm

Hello,

I hope this will be simple :)))

I need to redirect users who type www.test.com (or just test.com) in web browser, to be redirected to 192.168.x.x

thanks in advance :)
 
User avatar
netWorm
just joined
Posts: 11
Joined: Wed Nov 09, 2011 1:17 pm

Re: Redirecting IP Address

Fri Mar 09, 2012 12:27 pm

 
kirshteins
MikroTik Support
MikroTik Support
Posts: 592
Joined: Tue Dec 02, 2008 10:55 am

Re: Redirecting IP Address

Fri Mar 09, 2012 12:28 pm

You can use this method: http://wiki.mikrotik.com/wiki/How_to_Bl ... sing_Proxy
You will need to specify redirect-to.
 
User avatar
TheWiFiGuy
Member
Member
Posts: 351
Joined: Thu Nov 24, 2011 7:26 pm
Location: UK

Re: Redirecting IP Address

Fri Mar 09, 2012 1:34 pm

Could you not just set a static DNS entry?
 
bakra
just joined
Topic Author
Posts: 8
Joined: Fri Jan 08, 2010 2:23 pm

Re: Redirecting IP Address

Fri Mar 09, 2012 2:17 pm

perhaps I explained badly...

I installed forum on a local network PC (address: 192.168.2.33) and by typing this address in web browser you are entering this forum, but I want to change IP address with name (f.e. forum.com, this address already exists). So I thought, is it possible to drop request for "real" forum.com and redirect this request to 192.168.2.33 so by typing in web browser www.forum.com I could enter my forum which is in a local network (192.168.2.33).
 
bakra
just joined
Topic Author
Posts: 8
Joined: Fri Jan 08, 2010 2:23 pm

Re: Redirecting IP Address

Fri Mar 09, 2012 3:51 pm

This is exactly what I want to do.

So, you tell me how to do it.

If possible with CODE.
You do not have the required permissions to view the files attached to this post.
 
jackman
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Tue Mar 13, 2012 5:30 am
Location: Jakarta, Indonesia
Contact:

Re: Redirecting IP Address

Thu Mar 15, 2012 10:53 am

As TheWiFiGuy, already mentioned. If this possible for you to set static dns entry on your RouterOS? And let the Client use RouterOS dns server?

In this case you could set static dns entry on winbox :
ip/dns

or look at

http://wiki.mikrotik.com/wiki/Manual:IP/DNS

Who is online

Users browsing this forum: No registered users and 11 guests