Jump to content

How to have WHMCS working on 2 domain .com and .fr


Recommended Posts

Hello there

I was wondering how I can have my production installation working on 2 domain...to improve my SEO...So on each WHMCS I would delete all others languages.
Example:

.com will leave client area with only english (delete all others)
.fr will have only french language on client area (delete all others)

In my mind it will require:

 - 2 cpanel,
 - 2 whmcs license

I can not see how it would integrate those 2 admin in only one..

This ideia looks not good.
There is any module out there doing this, avoiding this crazy idea of having 2 installations on same time, duplicating everything.

 

 

Link to comment
Share on other sites

Nah, you don't need 2x cPanel and WHMCS.

Begin by pointing both domains to your server IP with record A. This way you can reach WHMCS from .com and .fr in the same time. Lastly override current language in use depending on domain name (.com for english and .fr for french) but now comes the tricky part: logins.

When a customer logs to his account you have to automatically log him on all domains. The Same goes for logouts. You need to use AutoAuth and play with "invisible" redirects... well it's quite complicated to explain. I can't even understand my own code 🤣 Anyway the real problem is that «AutoAuth is deprecated as of v7.10 will be removed in v8.1. Please utilize the CreateSsoToken API which is based WHMCS Single Sign-On» The idea of re-thinking this mess with a new method makes me feel sick to my stomach.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated