Correct An Installation Script

My install.php for a script to set up a WP site is not working properly. In theory, the author wanted me to use his reseller version of hostgator, however I am using hostmonster. Both sites allow unlimited subdomains. The install script loads the files onto the main domain (hipota.com) The subdomain I want them loaded onto is fororlandolocal.com. And because I will be repeating this process many times, I need the install script to load and set up the files on each new domain that I set up under my hipota.com account. This problem may be super easy to solve but I have tried variations without luck so I need someone to show me how this is done properly.
You can see for yourself by typing fororlandolocal.com/install.php and you will see the install screen.
When the script runs correctly, it will install all the files so that fororlandolocal.com looks just like hipota.com. And that is because all of the files are being installed in the main domain, hipota.com vs. fororlandolocal.com
Task: Fix the script to install on the addon domain from which it is loaded. Ensure it will load on any addon domain.

Leave a Reply

Your email address will not be published. Required fields are marked *