At our university we use different servers for database driven content and server side scripting. For instance pubinfo.vcu.edu is often used to reference faculty directories. But in any website, you may find that you need to publish pages in your project to two or more different URLs.
To do this you will create different "Pubishing Targets". Though you have two different Publishing Targets, you will only be able to create one "Publishing Structure". You can combine the structure for both in the one tree. Add all the possible folders to the structure, remembering that "root" is not specific to any URL.
Publishing target example:
URL 1: http://www.foo.com/blah/stuff/
URL 2: http://www.cnn.com/stories/
Publishing Structure example:
- root
- blah
- stories
- images
- documents
In the Project Structure, define your publication packages using one of the two Publishing Targets. Be sure to also set the Publishing Structure inside the HTML variant folders.
*Be careful to not overwrite your publication packages. If you are using multiple publication targets, use "inherit publication package" carefully.
No comments below.
Add your thoughts