Solved

Plesk 10.1.1 domain aliases

Posted on 2011-02-21
3
1,437 Views
Last Modified: 2012-05-11
Hey guys,

I've got a little issue and I'm not sure how to go about it.
I've got 2 domains and both are setup using Plesk 10.1.1 and work:
a.com
b.com

a.com has all the emails setup on it
b.com has no emails setup on it

a.com and b.com are both exact copies as far as the website goes
I want a.com to redirect to b.com for the website only so I don't have to update at two locations.

Now I can't setup a.com as an alias of b.com because it's got all the email accounts setup on it.

Ideas, suggestions?
0
Comment
Question by:TWistaff
  • 2
3 Comments
 

Author Comment

by:TWistaff
Comment Utility
I'm aware that I can use just use a rewrite rule in an htaccess file but I was wondering if there are other ways.

Cheers!
0
 
LVL 24

Accepted Solution

by:
rfc1180 earned 500 total points
Comment Utility
In DNS, add a CNAME for  a.com to point to  b.com

for the  b.com domain, you should have 2 A records, one for the parent:  b.com
and www.b.com for the other.

Create a CNAME for a.com and www.a.com to point to b.com

a.com IN CNAME b.com
www.a.com IN CNAME b.com

Billy
0
 

Author Closing Comment

by:TWistaff
Comment Utility
Thanks!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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.
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…

728 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

9 Experts available now in Live!

Get 1:1 Help Now