[opencms-dev] Multiple sites on same instance - mail without screenshots

Laurent Druart druart at ugr.be
Fri May 6 22:43:11 CEST 2022


<!-- version on my previous e-mail without screnshots, mail too big for 
the mailinglist -->

Hello,

I'm trying to add a second website on my dev instance.

My instance is running on localhost.

I added a website ocms1.localhost (binded to 127.0.0.1 via /etc/hosts)

In my website ocms1.localhost I've just one page index.html

When I try to reach http://ocms1.localhost or 
http://ocms1.localhost/index.html I got a 404 error


content of opencms-sites.xml:

<opencms>
<sites>
<workplace-serversslmode="no">http://localhost</workplace-server>
<default-uri>/sites/default/</default-uri>
<shared-folder>/shared/</shared-folder>
<oldStyleSecureServer>true</oldStyleSecureServer>
<siteserver="http://localhost"uri="/sites/default/"title="Demo 
Site"position="3.4028235E38"webserver="true"sslmode="secure-server"subsiteSelection="false">
<parameters>
<paramname="locale.main">en</param>
<paramname="locale.secondary">de</param>
</parameters>
</site>
<siteserver="http://ocms1.localhost"uri="/sites/my-site/"title="My 
Site"position="3.4028235E38"webserver="true"sslmode="no"subsiteSelection="false"/>
</sites>
</opencms>

What's wrong?

Thank you

Regards,

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20220506/29178aea/attachment.htm>


More information about the opencms-dev mailing list