<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Create multiple sites with different URLs in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/create-multiple-sites-with-different-urls/m-p/274236#M227366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw a couple similar posts but none of them seemed to fit my exact question. I was wondering how to use web quick start in alfresco share to create multiple quick starts sites with different URL paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now the only site i created is &lt;/SPAN&gt;&lt;A href="http://Server:8080/wcmqs" rel="nofollow noopener noreferrer"&gt;http://Server:8080/wcmqs&lt;/A&gt;&lt;SPAN&gt;. Is it possible for different departments to create different sites for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://Server:8080/Finance" rel="nofollow noopener noreferrer"&gt;http://Server:8080/Finance&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://Server:8080/Innovation" rel="nofollow noopener noreferrer"&gt;http://Server:8080/Innovation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and have them all on the same server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Dec 2010 21:28:52 GMT</pubDate>
    <dc:creator>numan85</dc:creator>
    <dc:date>2010-12-29T21:28:52Z</dc:date>
    <item>
      <title>Create multiple sites with different URLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-multiple-sites-with-different-urls/m-p/274236#M227366</link>
      <description>Hello,I saw a couple similar posts but none of them seemed to fit my exact question. I was wondering how to use web quick start in alfresco share to create multiple quick starts sites with different URL paths.Right now the only site i created is http://Server:8080/wcmqs. Is it possible for different</description>
      <pubDate>Wed, 29 Dec 2010 21:28:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-multiple-sites-with-different-urls/m-p/274236#M227366</guid>
      <dc:creator>numan85</dc:creator>
      <dc:date>2010-12-29T21:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple sites with different URLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-multiple-sites-with-different-urls/m-p/274237#M227367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have a few options available to achieve this kind of thing. First, a quick recap of how the WQS webapp resolves a URL to an asset:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Given a requested URL "&lt;/SPAN&gt;&lt;A href="http://my.example.com:80/wcmqs/news/global/article1" rel="nofollow noopener noreferrer"&gt;http://my.example.com:80/wcmqs/news/global/article1&lt;/A&gt;&lt;SPAN&gt;" that has been routed to our webapp, first we find the corresponding website in the repository. The website is represented by a node of type ws:website in the repository, and the standard WQS installation has two of these by default: "Quick Start Editorial" and "Quick Start Live". These nodes have a few special properties including host name, port number, and web context. With our example URL, assuming that the webapp itself is located at "/wcmqs", we try to find a website node with a host name of "my.example.com", a port number of 80, and a web context of "/wcmqs".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If we manage to find such a website node in the repository, then we use the rest of the URL ("/news/global/article1") to find the asset. This corresponds to the path "root/news/global/article1" below the website node that was found in the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, therefore, you can have as many websites held in the repository as you wish. The only caveat is that the combination of host name, port, and web context must be unique across all of them. If you want to share all the page templates and webapp logic across your sites, then I would suggest that you use different host names to distinguish between them. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://finance.example.com/wcmqs/path/in/the/finance/site" rel="nofollow noopener noreferrer"&gt;http://finance.example.com/wcmqs/path/in/the/finance/site&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://innovation.example.com/wcmqs/path/in/the/innovation/site" rel="nofollow noopener noreferrer"&gt;http://innovation.example.com/wcmqs/path/in/the/innovation/site&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;With the example above, the same webapp will be used, but different website data will be selected from the repository to be rendered. You will need to ensure that DNS resolves both host names to the same IP. A CNAME record with a wild card will provide that. In the repository you will have two website nodes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Finance Website&lt;BR /&gt;&amp;nbsp;&amp;nbsp; host name = "finance.example.com"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; port number = 80&lt;BR /&gt;&amp;nbsp;&amp;nbsp; web context = "/wcmqs"&lt;BR /&gt;&lt;BR /&gt;Innovation Website&lt;BR /&gt;&amp;nbsp;&amp;nbsp; host name = "innovation.example.com"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; port number = 80&lt;BR /&gt;&amp;nbsp;&amp;nbsp; web context = "/wcmqs"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;If, however, you want different webapps to render your different websites then use the web context to distinguish between them:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.example.com/finance/path/in/the/finance/site" rel="nofollow noopener noreferrer"&gt;http://www.example.com/finance/path/in/the/finance/site&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.example.com/innovation/path/in/the/innovation/site" rel="nofollow noopener noreferrer"&gt;http://www.example.com/innovation/path/in/the/innovation/site&lt;/A&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;In this case, you deploy two webapps in your web container (such as Tomcat) named "finance.war" and "innovation.war". In the repository your two website nodes look a little different:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Finance Website&lt;BR /&gt;&amp;nbsp;&amp;nbsp; host name = "&lt;A href="http://www.example.com" rel="nofollow noopener noreferrer"&gt;www.example.com&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; port number = 80&lt;BR /&gt;&amp;nbsp;&amp;nbsp; web context = "/finance"&lt;BR /&gt;&lt;BR /&gt;Innovation Website&lt;BR /&gt;&amp;nbsp;&amp;nbsp; host name = "&lt;A href="http://www.example.com" rel="nofollow noopener noreferrer"&gt;www.example.com&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; port number = 80&lt;BR /&gt;&amp;nbsp;&amp;nbsp; web context = "/innovation"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, if neither of those options work, you can use the port number to distinguish between the sites. This is unlikely to be particularly useful except for, perhaps, distinguishing between editorial and live versions of a site. Naturally you can mix and match these techniques in a single repository if you wish, distinguishing some websites by host name, others by web context, and yet more by port number.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does that help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 09:54:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-multiple-sites-with-different-urls/m-p/274237#M227367</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-01-05T09:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple sites with different URLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-multiple-sites-with-different-urls/m-p/274238#M227368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what exactly would be in the &lt;/SPAN&gt;&lt;A href="http://finance.war/innovation.war" rel="nofollow noopener noreferrer"&gt;finance.war/innovation.war&lt;/A&gt;&lt;SPAN&gt; files?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;would these war file be created from the share library, if so, how is the war file created through alfresco?&amp;nbsp; or is it a manual process and i would need to find all the necessary files myself and war it up?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 20:50:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-multiple-sites-with-different-urls/m-p/274238#M227368</guid>
      <dc:creator>pchoe</dc:creator>
      <dc:date>2011-07-08T20:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create multiple sites with different URLs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-multiple-sites-with-different-urls/m-p/274239#M227369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the simplest case you would just create two copies of the supplied example war file "wcmqs.war".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 20:57:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-multiple-sites-with-different-urls/m-p/274239#M227369</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-07-08T20:57:30Z</dc:date>
    </item>
  </channel>
</rss>

