0

I am trying to migrate my site from acquia dev desktop (local host server) to bluehost. In my site on my computer I have inside the "sites" folder, 3 folders:

  • all
  • default
  • localhost.mysitename

Inside localhost.mysitename I have the "files" folder, and inside that I have the following folders: adaptive theme, banner, color, ctools, custom_search, custom_search, feeds, pictures, styles, styles. in addition I have the ".htaccess" file and many pictures and logos of the site.

Should I change the folder name of "localhost.mysitename" to only "mysitename"?
Should I change it at all or to other name?

1

I don't know the acquia product you are using. And I don't know bluehost - but it seems to be a "usual webhoster". I assume at bluehost is an ordinary LAMP stack running without any drupal-specific modifications.

update 2 after comments of EB84:

It turns out you are not using multi-sites. Seems to me as you made your setup more difficult than it needs to be:

Just replace the default folder with your localhost.mysitename folder. By doing so you revert your folder-structure back to a simple single-site setup.

Keep in mind, that you need to adopt your settings.php to the preferences of your bluehost webspace (database parameters, etc.). Your settings.php will look different on the server than on your local machine - all other files and directories may be the same.

update 1 after comment of EB84:

Since you are using a multi-site setup the configuration in sites/sites.php will control which site will be used for what domain names in HTTP requests.

Please read following documents:

You will read that the directory names are arbitrary - as long as you map the domain name of the HTTP requests to it (via the configuration in sites.php).

Anyhow it might be good to remove the term "localhost" from your directory name - not for the whole thing to run technically, but to not confuse yourself some when in future.

| improve this answer | |
  • Hello. I updated my question. you think I should transfer all content from the folder "localhost.mysitename" to the "default" folder? – EB84 Feb 16 '14 at 17:09
  • Is there anything in the default folder? Like custom modules, themes etc.? – gue Feb 16 '14 at 17:29
  • No. I have there "default.settings.php", and folder with only two pictures I put there. Oh, on the bluehost, there is there a "setting.php" file. Inside the "localhost.mysite" folder I have a "settings.php" file and a folder called "files". Inside this "files" folder I have many folders of the adaptive theme, banner, color, ctools, custom_search, custom_search, feeds, pictures, styles, styles. in addition I have the ".htaccess" file and many pictures and logos of the site.. I think this "localhost.mysitename/files" is important directories. What should I do? – EB84 Feb 16 '14 at 17:39
  • Okay. I see. In this case the whole multi-site setup is too much for you. Just replace the default folder with your localhost.mysitename folder and you are good to go. I'll update my answer again... – gue Feb 16 '14 at 17:42
  • For better understanding of what directories you see in your drupal folder: drupal.stackexchange.com/questions/11410/… – gue Feb 16 '14 at 17:48
0

I have been using acquia dev desktop for a long time now, and the folder you are speaking about is basically nothing and you can delete it.

I you compare this folder to the default folder, you will notice that they are identical in contents.

This what i usually do to all of my websites, and is working as expected !

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.