Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Running Bitnami's Ubuntu Wordpress Image on Amazon EC2. By default the WordPress install is at /wordpress and there is a static index.html file in the root. How do I configure Apache and WordPress to serve from the root instead of /wordpress?

I have tried the instructions on this page: without success.

I have tried changing the document root to the folder serving the wordpress content, but that just breaks WordPress.

I know I am missing something simple, but not sure what. Any help would be appreciated.

share|improve this question

Try the following:

  1. First of all Log in the wordpress admin panel and change in the “settings” panel the URL.

  2. Stop Apache server: sudo /opt/bitnami/ stop apache

  3. Edit the following lines in the /opt/bitnami/apache2/conf/httpd.conf file:


DocumentRoot "/opt/bitnami/apps/wordpress/htdocs"


Directory "/opt/bitnami/apps/wordpress/htdocs"


# Include "/opt/bitnami/apps/wordpress/conf/wordpress.conf"


  1. Start the server: sudo /opt/bitnami/ start apache

if you are having trouble saving your changes due to permission problems, use:

:w !sudo tee %

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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