Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I use DNAME to redirect http requests from one domain to another?

Posted on 2006-06-13
5
Medium Priority
?
490 Views
Last Modified: 2012-06-27
Can I use DNAME and what is the  proper syntax to force all requests for http://anyserver.my-company.com to be redirected to http://anyserver.mycompany.com

I am using BIND on RHES 3


Thanks
0
Comment
Question by:DanRaposo
  • 3
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
prashsax earned 2000 total points
ID: 16896064
You can use page redirector.

Here is how:
1. Create a default page on http://anyserver.my-company.com. (Say default.html)
2. Now copy this code inside it.
   <HTML>
   <META HTTP-EQUIV="Refresh"  CONTENT="1; URL= http://anyserver.mycompany.com">
   </HTML>

This will redirect every request to be redirected.



0
 

Author Comment

by:DanRaposo
ID: 16896446
Actually that won't work for me.    For starters I want to redirect everything, not just http like I previously indicated.  Scecondly, my http servers that I am concerned about are running domino.   The Default page is a single sign on database and there is no place that I can think of that I can do this on.

Additionally. I think from your method I would need to do this on every server.  I would like it to be universal.

0
 
LVL 13

Expert Comment

by:prashsax
ID: 16896652
Then create a Alias record in your DNS.

Create a alias record with somename and assign it IP address of other web server.

Then, if somebody writes somename.yourdomain.com then he would actually connects to Web server whose IP address you have specified.



0
 

Author Comment

by:DanRaposo
ID: 16897564
But then I a have to manage this for all servers in the domain.  I would like to use something like DNAME to do it for any server in the domain.

The problem is I do not know the sytax for using DNAME ... it seems to be a bit obscure.

0
 

Author Comment

by:DanRaposo
ID: 16897844
I guess DNAME won't rewrite the request for me .. I am going to have to figure out how to do it based on domino web server.   I will close this question and award points since the suggestion given would work if I was running apache front end on all http servers.  

Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

885 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