Title: wordpress and httpd.conf DocumentRoot
Last modified: August 22, 2016

---

# wordpress and httpd.conf DocumentRoot

 *  [galuzan](https://wordpress.org/support/users/galuzan/)
 * (@galuzan)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-and-httpdconf-documentroot/)
 * Hi
    I am new to wordpress, and i just installed it on linux in a cloud server
   under the directory /wordpress the issue I have is that in order to reach my 
   site, you need to go to [http://www.example.com/wordpress](http://www.example.com/wordpress)
 * how do i make it so when someone go to [http://www.example.com](http://www.example.com)
   it will reach my site ?
    i tried to change the DocumentRoot in httpd.conf to “/
   wordpress”, but then I cant use wp-admin httpd error log says that when i go 
   to [http://www.example.com/wp-admin](http://www.example.com/wp-admin) it cant
   find /wordpress/wordpress
 * thanks for any help, let me know if any details are missing
 * _[ Please do not bump. ]_

Viewing 1 replies (of 1 total)

 *  [clickysteve](https://wordpress.org/support/users/clickysteve/)
 * (@clickysteve)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-and-httpdconf-documentroot/#post-5919570)
 * Hey,
 * Check out this page, which explains how to redirect your domain to the subfolder
   where you’ve installed WordPress:
 * [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Pointing_your_home_site.27s_URL_to_a_subdirectory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Pointing_your_home_site.27s_URL_to_a_subdirectory)

Viewing 1 replies (of 1 total)

The topic ‘wordpress and httpd.conf DocumentRoot’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [clickysteve](https://wordpress.org/support/users/clickysteve/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/wordpress-and-httpdconf-documentroot/#post-5919570)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
