PHP-FPM - Cross Domain Issue -New Cloned domain in CPANEL

    • 275 posts
    December 26, 2018 8:53 AM EST

    Hi,

    Im hoping this is not a bug , but this is an unusual issue and hoping someone would share light.

    We migrated to CPANEL.

    Created a clone of website playmusician.com to the new domain gigzip.com in CPANEL

    Took care to follow all the caching , file etc etc from this post

    https://community.socialengine.com/forums/topic/405/domain-name-change-what-are-my-challenges

     

    The websites both work great..BUT


    If PHP-FPM is enabled on both in CPANEL

    There is a cross domain issue and they show each others pages !

    If only 1 has PHP-FPM Enabled 
    They dont cross reference pages and it works fine.


    The gigzip.com website is showing playmusician's pages !!!!

    This Only Happens if PHP-FPM is enabled for BOTH WEBSITES


    there is no issue if only 1 SITE has PHP-FPM enabled

    Please watch the video
    https://www.youtube.com/watch?v=68ptwhoFYtE

    Thanks


    • Moderator
    • 6923 posts
    December 26, 2018 12:30 PM EST

    I'm moving this from where you posted it in Certified Marketplace Scoop as it doesn't belong in that section.

    • Moderator
    • 6923 posts
    December 26, 2018 12:31 PM EST

    Perhaps ask your host about the configuration. 

    • Moderator
    • 6923 posts
    December 26, 2018 12:36 PM EST

    BTW, SEPHP doesn't support FastCGI if that is what you are using as we only officially support mod_php https://support.socialengine.com/php/customer/portal/articles/1637065-socialengine-performance-and-speed-enhancement-tips?b_id=4311


    This post was edited by socialenginestaff at December 27, 2018 5:09 AM EST
    • Moderator
    • 6923 posts
    December 27, 2018 5:27 AM EST

    I showed this to a core developer just in case it was any sort of issue for security from our end. He confirmed that what I mentioned above is correct but also gave a few tips. I'll quote everything he said in order to give you as much help as we can but this is as far as we can go with it as we don't support Fast-CGI. The video was very helpful btw.

    it does look like a miss config on his server
    cause data is never getting posted and simply visiting the site on a new tab renders the other site
    For some reason its load content from another folder. 

    this might answer if some weird rewrite is being done to the wrong folder

    its due to us not supporting it as there are so many factors to consider with fast-cgi. I believe it can work if configured correctly, but they would need to take the time to look into it.