<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks Gerd. That worked just fine.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Appreciate your help.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks & Regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Nili</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> opencms-dev-bounces@opencms.org <opencms-dev-bounces@opencms.org> on behalf of Gerd Schrick <mail@schrick-design.de><br>
<b>Sent:</b> Wednesday, April 29, 2020 9:37 PM<br>
<b>To:</b> The OpenCms mailing list <opencms-dev@opencms.org><br>
<b>Subject:</b> Re: [opencms-dev] Cannot login from outside server</font>
<div> </div>
</div>
<div>
<div>I guess your new site's URL should be <br>
</div>
<div>http://opencms.company.com:8081 <br>
</div>
<div>instead of <br>
</div>
<div>http://localhost:8081 <br>
</div>
<div><br>
</div>
<div>Please check in "Launchpad" -> "Websites" <br>
</div>
<div>I assume the Demo site's URL is already http://opencms.company.com:8080 in your case
<br>
</div>
<div>Check also "Server URL" (http://opencms.company.com:8080) in "Global configuration" (Gear wheel on top)
<br>
</div>
<div><br>
</div>
<div>I assume you've also configured the appropriate tomcat connector for port 8081?
<br>
</div>
<div><br>
</div>
<div>The same configuration is working here (Demo site :8080 + two other sites on :8081 and :8082)
<br>
</div>
<div><br>
</div>
<div>Best, <br>
</div>
<div>Gerd <br>
</div>
<blockquote type="cite">
<div>Nili C <nilimesh@hotmail.com> hat am 30. April 2020 02:15 geschrieben: </div>
<div><br>
</div>
<div><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
Sorry, forgot to mention few things: </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
I can still access the Tomcat main page from <a id="LPlnk284232" href="http://opencms.company.com:8080">
http://opencms.company.com:8080</a> (so nothing wrong with that port number) </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
And when I access <a id="LPlnk649743" href="http://opencms.company.com:8080/opencms/system/login">
http://opencms.company.com:8080/opencms/system/login</a> the error I get is as follows (this is an OpenCMS specific message):
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
404 <br>
<div>Page Not Found <br>
</div>
<div>The requested resource "/opencms/system/login" was not found on the server. <br>
</div>
<div><br>
</div>
This server runs OpenCms - the open source content management system <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
Thanks </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
Nili </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div><br>
</div>
<div id="x_appendonsend"><br>
</div>
<hr style="display:inline-block; width:98%">
<div dir="ltr" id="x_divRplyFwdMsg"><span style="font-size:11pt; color:#000000; font-family:Calibri,sans-serif"><strong>From:</strong> opencms-dev-bounces@opencms.org <opencms-dev-bounces@opencms.org> on behalf of Nili C <nilimesh@hotmail.com><br>
<strong>Sent:</strong> Wednesday, April 29, 2020 8:09 PM<br>
<strong>To:</strong> opencms-dev@opencms.org <opencms-dev@opencms.org><br>
<strong>Subject:</strong> [opencms-dev] Cannot login from outside server</span>
<div><br>
</div>
</div>
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
Hi, </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
I have installed OpenCMS v11 on a company server. On the server itself, I can access it using
<a id="LPlnk902689" href="http://localhost:8080/opencms/system/login">http://localhost:8080/opencms/system/login</a>.
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<span style="color:#000000; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">From my laptop externally (and while on company VPN), I can access the same as </span>
<a id="LPlnk983975" href="http://localhost:8080/opencms/system/login" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
http://opencms.company.com:8080/opencms/system/login</a> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
This was all working fine. </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
I am going through the tutorial to get familiar and create a template (from my laptop using external URL):
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<a id="LPNoLP406915" href="https://documentation.opencms.org/opencms-documentation/creating-a-website/creating-a-template-jsp/">
https://documentation.opencms.org/opencms-documentation/creating-a-website/creating-a-template-jsp/</a>
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
While on "Step 5: Configure your template for a site", I created the website using
<a id="LPlnk561493" href="http://localhost:8081">http://localhost:8081</a> as instructed.
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
However, right after this step, I could not access OpenCMS from my laptop using <a id="LPlnk654076" href="http://localhost:8080/opencms/system/login" style="margin:0px; font-size:12pt; font-family:Calibri,Helvetica,sans-serif; background-color:#ffffff">
http://opencms.company.com:8080/opencms/system/login</a> <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
I can still access and login successfully from the server using <a id="LPlnk887785" href="http://localhost:8080/opencms/system/login">
http://localhost:8080/opencms/system/login</a>. (I also noticed that the website is created there). So I dont think I broke anything.
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
What do I need to do so I can use the product from my laptop using the external link, and not the localhost? What went wrong? Why did it stop working?
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
Greatly appreciate your help. </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
Thanks </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
Nili </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:#000000">
<br>
</div>
</div>
_______________________________________________ <br>
This mail is sent to you from the opencms-dev mailing list <br>
To change your list options, or to unsubscribe from the list, please visit <br>
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev <br>
<br>
<br>
<br>
</blockquote>
</div>
</body>
</html>