---
title: "Set up a source space and linked target space"
canonical: "https://support.appfire.com/space/AHP/649758232/Set%20up%20a%20source%20space%20and%20linked%20target%20space"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> Linking the source space for the draft content and the target space for publishing

## Linking the spaces

In your current space, the space administrator can choose to

> 📝 If you have existing public space in your instance and want to retain this for public viewing, you can initially use the Comala Publishing **Copy Space** option to copy this space content to a new space.  The new space can then be configured as the s**ource space** to publish and sync content to the original space as the **target space**.

## Set up a source space and target space

1. Choose **Publishing** in **Space tools**
  
2. Choose one of the **Publish** options
3. Choose **Publish to another space**
  - the pages of this current space are then set as pages in the draft source space and are published to another space (the target published space)
  - if you choose **Publish from another Space **the dropdown menu selection sets the source space - the space from which content is published to the current space (set as the target space)
4. Choose **Next**
  
5. Use the dropdown menu to select a **Published** **Space**
  If you have chosen to** Publish from another space **to the current space, then the chosen space is the **Draft space**.
6. Choose **Link**
  
7. Click **Finish** to return to the **Publishing** dashboard in **Space tools**

> Macro (inline-media-image)

  
  
The draft and published spaces are now linked but you must perform an initial synchronization

- choose **[Configure](https://appfire.atlassian.net/wiki/spaces/AHP/pages/649726972)** to select the publishing options
- select **Publish** to synchronize the two spaces

> 📝 If you have chosen to link the current space to a source space - the current space is the publishing target space.  Any further publishing configuration for the content to be published can only be undertaken in this linked source space.

**When first publishing a draft space** configure publishing to delete content added in the published space to

- remove the published space home page
- replace the deleted published space home page with a copy of the draft space home page
- set this published page as the published space home page

If you don't want to publish the source space home page you can configure the source space **Publish** settings to ignore the top-level pages in this source space when publishing. This setting also means that any orphan pages that exist in the source space are not be published.

> 📝 Comala Publishing is not designed to publish a page that is the child of the source space homepage to be a child of another space homepage. If you publish a page whose parent does not exist in the target space it becomes an orphan in the published space.