Title: Tree domains one server
Last modified: August 30, 2016

---

# Tree domains one server

 *  [Kresten Skovsted Buch](https://wordpress.org/support/users/krestensb/)
 * (@krestensb)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/tree-domains-one-server/)
 * Hi,
 * I have tree domains and one server. Right now all 3 domains points to the same
   root folder on the server.
 * In the root folder I have an index.php with the following content:
 *     ```
       <?php
       define('WP_USE_THEMES', true);
       require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' );
       ```
   
 * That redirects any requests to the same wp install in the folder wordpress.
 * Now, how do I best make requests to each of the tree domains redirect to different
   folders?
 * Best regards
    Kresten, Denmark

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [juggledad](https://wordpress.org/support/users/juggledad/)
 * (@juggledad)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/tree-domains-one-server/#post-6530810)
 * Change the folder that the domains point to. I would suggest you contact your
   host for help with this since it varies from host to host. Then you would have
   three seperate WP installs.
 *  Thread Starter [Kresten Skovsted Buch](https://wordpress.org/support/users/krestensb/)
 * (@krestensb)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/tree-domains-one-server/#post-6530814)
 * They tell me to use a .htaccess file in my root.
 * I tried that, but is that the way to go when I’m using wp?
 *  [juggledad](https://wordpress.org/support/users/juggledad/)
 * (@juggledad)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/tree-domains-one-server/#post-6530843)
 * On my host, I can add as many domains and/or sub-domains as I want and point 
   each at a seperate folder. In cPanel, it is in the ‘Domain’ section:
    – Subdomains–
   Addon Domains
 * If your host does not use camel and/or provide this optio you will have to work
   with them to get this done

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Tree domains one server’ is closed to new replies.

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [juggledad](https://wordpress.org/support/users/juggledad/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/tree-domains-one-server/#post-6530843)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
