?
Solved

Plesk 10.1.1 domain aliases

Posted on 2011-02-21
3
Medium Priority
?
1,508 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
ID: 34947439
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 2000 total points
ID: 34947452
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
ID: 34955867
Thanks!
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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 is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month14 days, 2 hours left to enroll

809 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