• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

Is it possible to create an A/CNAME/Other record to point to an specific IP Address and a specific port


Is it possible to create an A/CNAME/Other record to point to an specific IP Address and an specific port/ URL combination?

Eg: I have created a DNS A-record for 10.0.0.5 called SERVER1
This server runs a web console that i can browse to by entering:
http://10.0.0.5:4090/VOIPConsole/

What I want is to be able to plug in this hostname to a browser like this:
http://SERVER1
and have the browser know to automatically add the port and URL information as such-- "http://SERVER1:4090/VOIPConsole/"

I know this is not a function of DNS, not exactly sure where you would configure this.
What are my options?

Thanks guys.

0
redcell5
Asked:
redcell5
  • 3
  • 2
1 Solution
 
bitlaCommented:
The easy method is by forwarding.

created a DNS A-record for 10.0.0.5 called SERVER1

Forward.--->>>http://SERVER1 too---->>>http://SERVER1:4090/VOIPConsole/
0
 
dtranceCommented:
Have http://SERVER1 requests answer with a redirect.

<META HTTP-EQUIV=Refresh CONTENT="0; URL=http://SERVER1:4090/VOIPConsole/">
0
 
dtranceCommented:
To be clear, put that meta redirect into the default document that is served by http://SERVER1

There is nothing more to be done with DNS.
0
 
bitlaCommented:
Or you can use Http redirects
0
 
bitlaCommented:
oh! that was answered by dtrance i did not notice.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now