Second, in the primary accounts 'site' folder create a folder:. Delete that folder and unwrap Drupal install files-change the name to. A folder will automatically be created:. The one rule is that the primary domain set on the account must also be the primary Drupal site.įirst, the domain must be an add-on. I've used this method countless times and it works fine. Setting up a subdomain seems like a lot of extra work IMHO. ĭigit the address of the site I was redirected to an installation interface This is the structure of the file manager īut before all i had to adjust the DNS control all the sub-domains use the same ip adress but i had to wait more than four hours. They all share the same modules and the same themesĪnd can use their proper ones buy creating the folder modules and the folder :themes I managed to set a multisite in bluehost. Then your default domain will connect to the database defined in sites/default/settings.php and the second site () will use the database defined in sites//settings.phpīut both sites will be able to use the modules and themes in sites/allĪn other time with subdomains or multisite under drupal on bluehost: In your home directory if you have two domains pointing at public_html (or one domain pointing there and one parked) and you have the following structure (assuming public_html is where Drupal's files were unpacked): Bluehost's documentation is right, but doesn't take into account the magic of Drupal multisites. But when you point two domains at the same set of files (Drupal), the magic of Drupal can serve two different sites. Typically when you have two domains pointing at the same set of files (i.e., wordpress, static HTML, etc.), the host will serve the same site for both domains. I understand that Bluehost's documentation says that it will be the same as, but this is where Drupal takes over and makes it different. Has anyone undergone the same problem thanks a lot for all your helpsĪ parked domain is still exactly what you want. You don't have permission to access /install.php on this server.Īdditionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.Īpache Server at Port 80ġ6-changed the settings.php permissions to even :777 The same goes for the Boost module.Īfter many researches and following many tutorials to execute my beloved project multisite on drupal bluehost.ġ-I ve got a pro hosting with ip and ssh enabled.ģ-I ve created my subdomain in Cpanel .Ĥ-Created the subdirectory:htmlpublic/sites/ĥ-added the settings.php and in: htmlpublic/sites/Ħ-created database username_hotel granted for root all privilegesħ-configured settings.php according to database.ĩ-chaged the name and the prefix of the databaseġ0- imported it back to the hotel databaseġ1-deleted the subfolder htmlpublic/hotel automatically createdġ2 opened shell and hence the code to create the symlink: ln -s public_html/sites/ public_html/hotel Search and you will find the info on this site. Redirects using the saved URI (in RewriteRule) and saved hostname (in the last RewriteCond) RewriteRule ^(.*)$ " ġ0) If you use the Google Analytics module you'll need to tweak the settings file. The code is for non empty HTTP_HOST in the request <<= be sure to comment out these lines= RewriteCond % ^(.*)$ htaccess and settings.php from the site just created to the sites folder ().Ĩ) Return to the Domain Name panel and change the site's setting from 'addon' to 'park'.ĩ) If you're into SEO you'll probably set the domain to always resolve with or without the file that is in the root directory for the Drupal core install. Feel your pain for setting up multisites on Bluehost, but once done it works great-except for a few little tweaks to get google analytics and boost modules to work.ġ) It works best if you make your top-domain a Drupal site.Ģ) In the site folder create folders with the domain name:, ,, etc.ģ) Inside each of those folder create a 'files' folder.Ĥ) The quickest way to set up to set up each site is to first make sure the domain is listed as an 'addon'.ĥ) Use Simple Script to set up the Druple site and log in.Ħ) Use Simple Script to remove the Drupal site you just created, but be sure to leave the files.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |