Solved

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now