Jump to content

one licence 2 sites


veladzic20

Recommended Posts

hi , is it possible to have one whmcs licence and to install it on two sites connecting to one whm

 

You can have two websites connected to one whmcs installation. But You cannot have two whmcs installations using one license I am afraid.

Link to comment
Share on other sites

We have multiple domains pointed to our WHMCS install. We have redirect rules setup to redirect all domains, that are not the main domain we use, to the main domain. So, all the domains end up on the main domain, and we have one WHMCS with one license. As long as you end up on the domain licensed by WHMCS, you will be fine.

 

You could even setup rewrite rules to point specific domains to a certain languages in WHMCS. For example: http://demo.whmcs.com/index.php?language=Spanish

 

Is that what you're trying to accomplish?

Link to comment
Share on other sites

We have done this with some custom coding. We have multiple brands pointing to a single WHMCS installation. Depending on the brand the client group is automatically set and after that only from the correct brand messages are send to the client. Also the client only sees that brand.

 

We can also easily do this for different languages. The only thing is that a URL (or at least the (sub)domain part) has to be unique for that brand/language. If you want me to look at it please send an email (in English) with all details to info@tools4isp.com.

 

Yes we asked if this was allowed by WHMCS, as long as it is a single admin interface it is fine (and WHMCS provides support on the main URL).

Link to comment
Share on other sites

I had this set-up previously by creating 3 different template sets to match for each of the 3 front facing websites which was the same company just different services, but same WHMCS instance, same WHMCS checkout, etc. Then I linked directly to that template set for the visual effect. But.... for some reason within the last year, this stopped working. I'm not sure why. Did you find a way to get this working for yourself?

Link to comment
Share on other sites

You can connect more than one domain by parking them or adding them as an addon domain.

 

You can then use PHP to detect the URL and load different stylesheet, scripts, execute different code or even load entire new templates based on what the domain is set to which would create the effect of different branding/websites all on one installation.

 

A very quick example would be:

 

<?php
switch ($_SERVER['SERVER_NAME']) {
	case "awebsite.com":
		// Load a stylesheet, template or echo some JavaScript or JQuery
		break;
	case "anotherwebsite.com":
		// Load a stylesheet, template or echo some JavaScript or JQuery
		break;
	case "yetanotherwebsite.com":
		// Load a stylesheet, template or echo some JavaScript or JQuery
		break;
	default:
		// None of the above
		break;
}
?>

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