Solved

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

Posted on 2006-06-13
5
483 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 500 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

809 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