Modify Alfresco URL

cancel
Showing results for 
Search instead for 
Did you mean: 
tommy_saputra
Active Member

Modify Alfresco URL

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.

5 Replies
ikaygorodov
Member II

Re: Modify Alfresco URL

You can use HTTPd or Nginx to redirect user requests.

kintu_barot
Senior Member

Re: Modify Alfresco URL

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

ContCentric

Regards,
Kintu
tommy_saputra
Active Member

Re: Modify Alfresco URL

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

kintu_barot
Senior Member

Re: Modify Alfresco URL

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>

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

ContCentric

Regards,
Kintu
tommy_saputra
Active Member

Re: Modify Alfresco URL

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