Multiple Domain Support


With TGP Rotator versions 1.0.1 and newer it is possible to generate TGP pages for multiple domains from a single TGP Rotator installation. To do this, all of the domains need to be hosted on the same server and should all be controlled through the same user account on the server. This document includes details on how to configure the software and other important tips when generating pages for multiple domains.

Accessing The Software

The software is licensed on a per domain basis, so it needs to be installed and accessed through the domain you are licensed for. Even though you can generate TGP pages for other domains, you always need to access the software's control panel through your licensed domain. It will not work to install TGP Rotator on one of the other unlicensed domains.

If you have more than one server, you will need to purchase a license for one of your domains on each server in order to use it on both. It is not possible to have an installation on one server write TGP pages to a different server. In this case both installations must have their own MySQL database as well.

Configuring The Software

There is really nothing too special that you need to do in order to configure the software so that it will generate TGP pages for multiple sites. The software should be installed on your licensed domain according to the installation instructions. In the Edit Options interface, the Document Root setting should point to the base directory of the website where you are installing the software. Likewise, the Thumbnail URL setting should be a URL pointing to your licensed website that corresponds to a directory inside the document root.

Once you have the software installed, all of the options configured through the Edit Options interface, and some categories defined, you can begin creating pages through the Manage Pages interface. This is the place where support for multiple domains comes into play. You have full control over the directory where the TGP page will be generated when you add a new page. With this in mind, you can tell the software to create a TGP page in any directory of your account on the server.

For example, assume you have an account with a webhosting company and your username is tgpguy, and that you have two domains being hosted under this account: and Your hosting company may have your account setup with the following directory structure: The first directory is the home directory of your account, the second is the document root for and the third is the document root for If you wanted to have TGP Rotator create an index.html page in the document root of each of your sites, you would create two pages with the following settings: Note that the directory setting of the first page points to the document root of the domain. This means that the index.html file will be created in that directory and accessible through that domain. Likewise, the second page has a directory setting that points to the document root of the domain. Now when you rebuild your TGP pages, TGP Rotator will create an index.html page for both of your domains.

Important Notes

The Thumbnail URL setting will always need to point to the website where the software is installed. Because of this you need to take into consideration any hotlink protection you might have in place for those thumbnails. On all of the pages generated by TGP Rotator, the thumbnail URLs will point to the Thumbnail URL that you have configured. Make sure all of your domains are allowed to access thumbnails from that URL.

In most cases it will not work if you have separate accounts on the server for each of your different domains. This has only been tested on servers where all of the domains where controlled by the same user on the server. If you are on a server where each of your domains is under a different username, you may be able to get your server administrator to join them together for you. Contact them to see if this is possible. They may also have suggestions for how this can be accomplished without having all of your domains under the same account.