Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Step-by-Step Configuration and Troubleshooting Best Practices for the NGFW, NGIPS and AMP Technologies A Visual Guide to the Cisco Firepower Threat Defense (FTD)
Community Member

Translate 1 public ip into 2 local web portals

Hello, i have problems in translating 1 public ip into 2 local web servers.

I've already use global(outside) and nat (inside) command to set the dynamic NAT but i can't access web using that public ip.

Before, i translate one of the local web server to that ip public and it works using static nat.

2 REPLIES
Hall of Fame Super Blue

Re: Translate 1 public ip into 2 local web portals

Hi Charles

Are your web servers using the same port ?

If so you won't be able to use the same public IP for both web servers. If they are using different ports then you will.

Jon

Community Member

Re: Translate 1 public ip into 2 local web portals

Presumably you will not want users of either website to type in a port number.

AS you are dealing with only one external ip address and one port you can only direct this to one internal web server.

One option is to purchase another IP address and use a separate fully qualified domain name. ( a common example of this would be to point www.mycompany.com to 1.1.1.1 and mail.mycompany.com to 2.2.2.2 where www points to the normal webserver and mail.mycompany.com points to an outlook web access server)

You could do it with only the one ip by writing a script on one webserver that looks for the typed url and redirects according ly

In asp that would be something on the lines of...

Url=request.servervariables("URL")

if Url = "mail.mycompany.com" then

response.redirect "www.mycompany.com:81"

end if

not really a cisco solution but it should work fine.

Steve

140
Views
0
Helpful
2
Replies
CreatePlease to create content