Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS entry

Status
Not open for further replies.

Etogo

Technical User
May 29, 2002
22
0
0
CA
Hi All,

I'm not sure if I'm in the right forum here but I'm hoping I am. Here's what I'm having problems with:

I would like users to be able to type a url of my choice (ex: http:\\myportal) and be redirected automatically to another url (ex:
Anybody have an idea how I would do that. People keep pointing me to DNS but I'm not sure that's what I would use for something like this.

Any help would be greatly appreciated!!

Thanks!
 
You can point myportal.com to another domain/IP using CNAME;

myportal.com IN CNAME server.example.com

If you want to do a proper redirection to something like server.example.com/some/other/url/in/here then you cannot do this in DNS and you would use a http redirect script on the server that serves myportal.com.

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Thanks for the quick response!

I used CNAME to point to the proper url but now I still have one little problem. Users still have to type in a port # after myportal (ex:http:\\myportal:8888) in order to get the right page. Is there a way of avoiding this other than opening port 80 on the server?

Any help with this would be greatly appreciated.
 
Again, DNS can only resolve the host name, not the full path to a directory or a port number.

Put a http redirect on the page to another page on that port.

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top