talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

access collectionspace with domain name

MJ
Mohammad Jumah
Mon, Apr 17, 2017 1:34 PM

Hello,

I can't access collectionspace using a domain name. The application is
accessible using:

http://www.example.info:8180/collectionspace/ui/core/html/index.html
http://www.example.info:8180/app/ui/core/html/index.html

I would like to access the above using just, http://www.example.info

So I had the following configs in server.xml, inside the Engine tag.

<Host name="example.info" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Alias>www.example.info</Alias> <Context path="" docBase="collectionspace/ui/core/html/index.html" debug="0" privileged="true" /> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t &quot;%r&quot; %s %b" resolveHosts="false" /> </Host>

I also ran the commands

  • firewall-cmd --add-forward-port=port=80:proto=tcp:toport=8180 --permanent
  • firewall-cmd --permanent --add-port=80/tcp
  • firewall-cmd --permanent --add-port=8180/tcp
Hello, I can't access collectionspace using a domain name. The application is accessible using: http://www.example.info:8180/collectionspace/ui/core/html/index.html <http://www.example.info:8180/app/ui/core/html/index.html> I would like to access the above using just, http://www.example.info So I had the following configs in server.xml, inside the Engine tag. <Host name="example.info" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Alias>www.example.info</Alias> <Context path="" docBase="collectionspace/ui/core/html/index.html" debug="0" privileged="true" /> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t &quot;%r&quot; %s %b" resolveHosts="false" /> </Host> I also ran the commands - firewall-cmd --add-forward-port=port=80:proto=tcp:toport=8180 --permanent - firewall-cmd --permanent --add-port=80/tcp - firewall-cmd --permanent --add-port=8180/tcp