Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Plesk 10.1.1 domain aliases

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

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

609 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