Solved

domain/website redirection

Posted on 2011-02-21
4
330 Views
Last Modified: 2012-05-11
Hi Experts,

Hopefully this will be an easy one.

I own 2 domains,  www.example.net and www.example.net.au.

The primary is .net, which has the website etc (hosted by a 3rd party)

The .net.au is configured to direct mail and other things to our server etc and is working fine.

What I want is to have anyone who visits www.example.net.au to be directed to www.example.net.

Is this achievable through DNS records alone? If so what should I have them setup as? Currently there is a CNAME .net.au -> .net and an A record pointing .net.au to the same webserver address that .net is pointed to.

But it's not working...

Help!
0
Comment
Question by:samfpt
4 Comments
 
LVL 16

Accepted Solution

by:
Enphyniti earned 250 total points
ID: 34949211
Your third party host needs to configure their side to utilize the other domain if you want them both to work interchangeably.

However, most registrars/DNS hosts have a "URL redirect" setting for HTTP requests.  You should be able to set that up.  That would cause any requests for ABC.com to go to XYZ.com (visible in the address bar of the browser)

0
 
LVL 5

Expert Comment

by:danubian
ID: 34949318
You can find some URL Redirect guiding here: http://www.seocompany.ca/seo/url-redirect.html

Using DNS for redirection is not well suited for what you are trying to achieve.
0
 
LVL 4

Expert Comment

by:nemagee
ID: 34955715
It might be just as simple, since yes -- DNS redirection isn't really the best -- to set up a simple site in Apache or IIS to redirect your traffic.

Your Apache site could either have an .htaccess file with a rewrite rule, or you could just put the following line in your VirtualHost config for the site (the one that should redirect to your "main" site):

ServerName www.example.net.au
Redirect 303 / http://www.example.net/

(or if this is a permanent/always change, make that a 301)
0
 

Author Closing Comment

by:samfpt
ID: 35063689
It turned out my DNS was fine, the website hosting provider has just not set it up at their end. (after saying they had)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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