Solved

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

Posted on 2006-06-13
5
487 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Recommendation for open source Monitoring 7 98
Exchange 2016 - not receiving mail 17 99
Esxi host upgrade 16 96
Network access 24 58
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.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises 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…
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…

734 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