?
Solved

Plesk 10.1.1 domain aliases

Posted on 2011-02-21
3
Medium Priority
?
1,497 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
[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
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month10 days, 10 hours left to enroll

765 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