Solved

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

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Valid LIN protocol Protected ID values 1 37
Network access 4 37
Trouble enabling network for Hyper-V client 10 29
Cisco 3650 switch 7 29
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
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…

785 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