06-14-2019 02:33 AM
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.
06-16-2019 04:18 PM
You can use HTTPd or Nginx to redirect user requests.
06-17-2019 12:21 AM
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>
mentioned in tomcat/shared/classes/alfresco-global.properties file.
Refer https://docs.alfresco.com/6.1/tasks/adminconsole-systemsettings.html
Regards,
Kintu
06-17-2019 11:44 PM
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.
Regards,
Tommy
06-18-2019 12:22 AM
I can show you that with apache2.
<VirtualHost *:80>
ServerAdmin serveradmin@domain.comServerName <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.
Regards,
Kintu
06-18-2019 01:02 AM
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.
Regards,
Tommy
Explore our Alfresco products with the links below. Use labels to filter content by product module.