I currently have a Drupal 7 Multi-Site. In my sites folder, the domains are like this:
winatlife.guide journal.winatlife.guide store.winatlife.guide
I need to change the domains to this:
blog.blessingsjournal.com journal.blessingsjournal.com store.blessingsjournal.com
In addition, my root drupal folder is changing from
I have made all these changes. When I visit any of domains, I get the following error message:
Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
What could be chasing this? I haven't changed any of the permissions on the Drupal install.
Steps I have tried
1) Database Update
This StackOverflower answer says that the domain is hardcoded in the database and it provides a query to fix it. I have run the query, but it does't seem to have done anything. It was written in 2010, so maybe it's for Drupal 6?
2) Make a sites.php file
According to this Drupal Groups thread, in Drupal 7 multisites, you need to put a file called
sites.php in the root sites directory. (In that directory there is an
example.sites.php which can be used as a template).
I made a
sites.php file and used the new domains but it had no effect. (Nb I did not need to use such a file before the domain change)
3) Checking .htaccess
My .htaccess is set as follows:
# If your site is running in a VirtualDocumentRoot at http://example.com/, # uncomment the following line: RewriteBase /