Solved

Configure a URL to be mapped to a specific port

Posted on 2011-09-11
9
342 Views
Last Modified: 2012-05-12
Hi Experts,

I would like to know if a https://URL:123 can be configured to https://URL but when that URL is entered it automatically maps to a designated port?

Look forward to hearing from you.

Thanks.
0
Comment
Question by:isdd2000
  • 4
  • 3
  • 2
9 Comments
 
LVL 8

Expert Comment

by:npinfotech
Comment Utility
There are multiple ways to do this.  My preference was to use my firewall/router (Cisco ASA) to set up a redirect via asdm.  

Here are the basics using IIS 7: http://technet.microsoft.com/en-us/library/cc732969(WS.10).aspx
0
 
LVL 12

Expert Comment

by:Steve
Comment Utility
depending on the Webserver you are using, there are a lot of ways to do this.. for example a simple index.php page like this would do it..

<?php
/** * Place in a blank PHP page */
// Change to the URL you want to redirect to
$URL="https://URL:123";
header ("Location: $URL");
?>

Open in new window

0
 

Author Comment

by:isdd2000
Comment Utility
Hi Experts,

I should mention it is an application web interface that i am accessing.
0
 
LVL 8

Expert Comment

by:npinfotech
Comment Utility
Not all web application interfaces let you do that.  If you rent hosting space, you might want to call up the hosting company to put in a redirect request.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:isdd2000
Comment Utility
Thanks npinfotech.

The Application is hosted locally is it posible to put in a re-direct at the domain hosting level?
0
 
LVL 12

Expert Comment

by:Steve
Comment Utility
no you cannot use DNS to redirect.. you need to do it on an application level.
0
 
LVL 8

Expert Comment

by:npinfotech
Comment Utility
I'm not aware of any web panels\applications that allow you to redirect based on a port number.  You'll need to configure a piece of hardware (router/switch/etc) or a web server (apache/IIS).
0
 

Author Comment

by:isdd2000
Comment Utility


Hi npinfotech,

I have performed a port re-direct on the firewall. So external port 123 becomes internal port 321 for example. The problem is when I type the location in the web browser i have to specify port 123. Because there is only one public IP address port routing has to be used to access the differnt servers using https.

i am wanting the web address to automatically go to port 321 for example
0
 
LVL 8

Accepted Solution

by:
npinfotech earned 500 total points
Comment Utility
All domain names go to port 80 by default.  So, a request to "http://www.google.com" is actually "http://www.google.com:80".  The https prefix (port 443) and ftp prefix (port21) are also examples specially designated ports for web browsers.  

The only way you can avoid typing in the port into your web browser is to either use one of the these pre-defined prefixes, or custom configure your web browser.

0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this guide, I outline 7 key steps to help technology professionals grow their careers. Whether you have been working in technology for 10 years or for 10 days, follow these steps to help you achieve your career goals and pursue your passions.
How can you create a game plan that lets you focus on special projects instead of running from cubicle to cubicle every day and feeling like you’ve accomplished nothing? Try these strategies for prioritizing your tasks, offloading what you can, and …
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now