Solved

Incorporate a site as a subdomain ?

Posted on 2013-12-20
3
202 Views
Last Modified: 2014-08-25
Two Drupal sites, siteA.com and siteB.com,  Both currently on seperate hardware, running on a LAMP stack.

We control front end, back end, and DNS on both.

If the goal is to transfer siteB to the same hardware as siteA, and make siteB a subdomain of siteA, like http://siteB.siteAcom, and make the User experience seamless, what's the best approach?

siteB can continue to function as a separate site, with some CSS modification to give it the look and feel of siteA.

I'm in the initial planning phase, so I'm wondering how to treat modules, libraries, core files, Apache Solr search, etc.  Do they need special consideration?

What's a good practice approach?
0
Comment
Question by:sandshakimi
[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
3 Comments
 
LVL 3

Accepted Solution

by:
abhuvan earned 250 total points
ID: 39733230
There is a simple way to do it in the Domain control panel / Cpanel or Plesk panel.
this is called domain forwarding go to that section and you can assign the domain forward even for sub domain. you can use masking feature so that the user can still see the same sub-domain name as he typed in the address bar but  still can be redirect to your desired site.

In case of godaddy here is an example:

http://support.godaddy.com/help/article/422/forwarding-or-masking-your-domain-name
0
 
LVL 2

Assisted Solution

by:itkadmin
itkadmin earned 250 total points
ID: 39735329
You could do a multisite install https://drupal.org/documentation/install/multi-site
The assets for siteA would be in sites/default, the assets for siteB would be in Sites/siteB.siteA.com

Set DNS to direct siteB.siteA.com to the directory where you have drupal installed. If you are using CPanel, use the subdomain tool. drupal will then Look after the business of figuring out which assets are used by siteA.com and by siteB.siteA.com

You end up with two drupal sites, one of them in a subdomain, both using the same code base which makes updating a piece of cake. Especially if you are using drush.

You can also share theme elements, keep the theme in sites/all/themes. Have a theme for siteA, make a subtheme of siteA for siteB.SiteA.com.
0
 

Author Comment

by:sandshakimi
ID: 39736179
The multisite approach is one I'm trying to avoid.

With this plan, I don't care about having to support two diff. websites.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Learn how the use of a bunch of disparate tools requiring a lot of manual attention led to a series of unfortunate backup events for one company.
In the wake of AWS' S3 outage, we want to discuss the importance of storage and data diversification in the event of a hack, crash, or system disruption. We spoke with Experts Exchange’s COO Gene Richardson for a deeper understanding.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

740 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