Solved

Plesk 10.1.1 domain aliases

Posted on 2011-02-21
3
1,480 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 500 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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