As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Dear All Alfresco Seniors,
I'd like to know if I able to change/modify my Alfresco default URL into specific name.
For example :
http://my_ip:8080/share/page to http://my_company_name.com
Can I do this or not?Thanks in advance.
You can use HTTPd or Nginx to redirect user requests.
Yes, you can configure proxy using Apache or Nginx. You would have to make changes in the following properties
alfresco.host=<your domain name> alfresco.port=<your port>share.host=<your domain name>share.port=<your port>
alfresco.host=<your domain name>
alfresco.port=<your port>
share.host=<your domain name>
share.port=<your port>
mentioned in tomcat/shared/classes/alfresco-global.properties file.
Refer https://docs.alfresco.com/6.1/tasks/adminconsole-systemsettings.html
Regards,
Kintu
ContCentric
Dear Ilya Kaygorodov & Kintu Barot,
I've already do this, but still not working. Do you guys have another option?I changed alfresco-global.properties file like Kintu Barot said, but for Nginx, I really don't understand about that.
Can you show me an example please?
Thanks in advance.
Tommy
I can show you that with apache2.
<VirtualHost *:80> ServerAdmin serveradmin@domain.com ServerName <your domain.com> DocumentRoot /opt/alfresco-community/ <Directory /opt/alfresco-community> AllowOverride all Options -Multiviews </Directory> ProxyPreserveHost On ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ ServerName <your domain.com></VirtualHost>
<VirtualHost *:80> ServerAdmin serveradmin@domain.com
ServerName <your domain.com>
DocumentRoot /opt/alfresco-community/
<Directory /opt/alfresco-community> AllowOverride all Options -Multiviews </Directory> ProxyPreserveHost On ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/
ServerName <your domain.com></VirtualHost>
You can create this kind of entry under /etc/apache2/sites-available/<domainname>.conf
You have to enable this by running the following command.
a2ensite <domainname>.conf
Restart the apache2 service.
Note: you have to make changes like host and port in alfresco-global.properties also.
Thanks Kintu Barot for your fast responses.
But i'm afraid it'll be useless if modifying the apache's files because my alfresco has its own web server (tomcat).
And FYI the Alfresco version I've installed was "alfresco-community-installer-201707-linux-x64.bin" that has its own web server.
Did I already install a wrong version of Alfresco?
Sorry for my bad English.