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>
mentioned in tomcat/shared/classes/alfresco-global.properties file.
Refer https://docs.alfresco.com/6.1/tasks/adminconsole-systemsettings.html
Regards,
Kintu
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
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
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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.