Title: Main domain
Last modified: August 21, 2016

---

# Main domain

 *  Resolved [mrppp](https://wordpress.org/support/users/mrppp/)
 * (@mrppp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/main-domain/)
 * I have one site that is hosted as the main domain with another domain as an addon.
   
   When running duplicator it tries to backup this addon domain too. Is this something
   on server set wrong?
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

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

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/main-domain/#post-4725850)
 * Hey Mrppp,
 * If you goto Duplicator > Settings > Server Settings and look for:
 * > Root Path or ABSPATH
 * That is WordPress constant that defines the root of your site. It a future version
   I might be able to allow you to manually update this value.
 * Cheers~
 *  Thread Starter [mrppp](https://wordpress.org/support/users/mrppp/)
 * (@mrppp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/main-domain/#post-4725853)
 * right so public_html/ so i guess that is why as my addon is in that path public_html/
   addon.com
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/main-domain/#post-4725857)
 * If you want you can manually set the path in the define.php file which is found
   in the duplicators plugin directory. I haven’t personally tested it this way,
   but it may work…
 * You would update something like this:
 * >  define(‘DUPLICATOR_WPROOTPATH’, str_replace(“\\”, “/”, ABSPATH));
 * To:
 * >  define(‘DUPLICATOR_WPROOTPATH’, str_replace(“\\”, “/”, ‘/public_html/addon.
   > com’));
 *  Thread Starter [mrppp](https://wordpress.org/support/users/mrppp/)
 * (@mrppp)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/main-domain/#post-4725858)
 * What is happening is main directory is public_html/
    that holds the WP site (
   my main domain) i.e mysite.co.uk but it also holds public_html/myothersite.co.
   uk
 * So rather than just backing up the WP site mysite.co.uk it is also backing up
   public_html/myothersite.co.uk which is a totally seperate site not even a WP 
   site
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/main-domain/#post-4725872)
 * I believe the only way around your issue is to do what I mentioned above…

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

The topic ‘Main domain’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/main-domain/#post-4725872)
 * Status: resolved