Modify local Drupal site on Acquia AMP stack for upload to Server
Assuming you have already installed Core Drupal on your Acquia AMP stack then you can upload your website to the web server after making the following modifications:
- Modify the settings file to reflect the new server name and database:
- Change the “base_url” to reflect the url (domain name and path) of the Drupal installation on the server.
- Change the “db_url” to reflect the database user on the server. You will also need to modify the host from “127.0.0.1” to “localhost”.
- Change the “username” to reflect the database user on the server.
- Change the “password” to reflect the database password on the server.
- Change the “host” from “127.0.0.1” to “localhost”.
- Drupal can have multiple setting.php files: one for each Drupal installation and also a default settings.php.
- If you only have one Drupal installation on your target server then you can just keep the default settings.php file and delete the project specific settings.php. This can make troubleshooting any issues more straightforward as you can be certain that Drupal is using the settings.php file that you are expecting it to use.
Related Posts:
- Install Core Drupal on Acquia DAMP Stack
- Import a Drupal Website from a Server and run it locally on an Acquia Drupal AMP Stack
If you need a web designer in Northern Ireland please contact us at Abipo Web Design Northern Ireland.
Trackbacks & Pingbacks
[…] Modify local Drupal site on Acquia AMP stack for upload to Server The Top 3 Uses for Dropbox […]
[…] Move from Free to Paid Hosting Modify local Drupal site on Acquia AMP stack for upload to Server […]
[…] Modify Local Drupal Site On Acquia AMP Stack For Upload To Server This was written by eve50. Posted on Tuesday, November 22, 2011, at 3:05 pm. Filed under Posts. Bookmark the permalink. Follow comments here with the RSS feed. Comments are closed, but you can leave a trackback. ‹ Add ‘MailChimp’ EMail Marketing To Your WordPress Blog […]
[…] Modify Local Drupal Site On Acquia AMP Stack For Upload To Server […]
[…] Modify Local Drupal Site On Acquia AMP Stack For Upload To Server […]
Comments are closed.