ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Issues changing hostname - complicated by moving half of site to new server

July 24, 2012 2:33am

Subscribe [1]
  • #1 / Jul 24, 2012 2:33am

    JC_Design

    3 posts

    Today we pushed our new EE2 site live on a new server. It looks good, works well, etc.

    Due to time constraints, we were not able to upgrade the entire site, and left several sections on our old EE1 server. These are relatively contained areas, such as a customer area with its own login.

    This did not work cleanly, and I could use some help resolving (yuk yuk) the issue.

    We started with:

    EE1 Server: companyname.com
    EE2 Server: dev.companyname.com

    We pointed companyname.com to EE2, and pointed legacy.company.com to EE1. So we have:

    EE1 Server: legacy.companyname.com
    EE2 Server: companyname.com

    Problems:

    - Many instances of companyname.com appear to be hardcoded into pages. We expect to have to adjust these

    - When we attempt to login to EE1 , we are refused access. Similarly, no one can log into the customer areas on EE1 server.

    I assume we need to update the new domain name in config.php and also in the admin section.Is there a list of areas that need to be updated?

    As a “quick fix” we reverted EE1 to companyname.com and EE2 to http://www.companyname.com hoping this would fix the database issue.

    EE1 Server: companyname.com
    EE2 Server: http://www.companyname.com

    However this still seemed to cause issues as there were still some constant calls from EE1 to http://www.companyname.com. This leads me to believe I am not getting all the hardcoded instances of the domain in EE1.

    Any input appreciated.

    Thanks,

    jcd

     

     

     

  • #2 / Jul 24, 2012 5:39pm

    Dan Decker

    7338 posts

    Hi JC_Design,

    That’s a rather complex scenario! We need to simplify this as much as possible.

    You need to get everything on one server, one domain, under 1 version of ExpressionEngine.

    To do that, grab the backup of the 1.x version of your database. Use that and the 1.x files from your starting site to roll the original site back to before you moved anything.

    Once you have that, you have 2 options. Follow this Wiki article on Moving ExpressionEngine 1 to Another Server. Then upgrade to ExpressionEngine 2.x

    ~or~

    Upgrade to 2.x on the original server, then follow the steps in Moving ExpressionEngine to Another Server.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases