Solved

domain/website redirection

Posted on 2011-02-21
4
355 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
[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
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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 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