Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • 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

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

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