Knowledge Base Article

How to configure Joomla to open by more than one domain?

In order to configure Joomla to work by more than one domain follow these steps:

1. Park the additional domains to your account. This can be done from cPanel, Parked domains;

2. Open Joomla's configuration.php file and make this change:

$mosConfig_live_site = 'http://'.$_SERVER['HTTP_HOST'];

In case your Joomla is in a subdirectory you have to specify the name of the subdirectory:

$mosConfig_live_site = 'http://'.$_SERVER['HTTP_HOST'].'/directoryname';

Note to substitute directoryname with the the directory name in which Joomla resides.



Rating

Please indicate if this article was helpful for you.

rating :  4.6 from 5
views :  1786
votes :  22

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!