Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

Setting timezone and URL to IP redirection Reply

lucky@mitra.com

Level 1

Setting timezone and URL to IP redirection
7477 5 2017-12-8 00:38:15
Original
Hi, there,

I've just installed the MACC base on our server and everything seems to work as expected. I have two questions regarding of my new installation.

Question 1:
After the installation process finished (./install.sh), I found that our server timezone was changed to Asia/Shanghai (CST Beijing Time). The MACC web also shows the same timezone. I have changed my server timezone to Asia/Jakarta, but the MACC web was still Asia/Shanghai.
My question is: how to change MACC web timezone?

Question 2:
I can access the website through my server's public IP (for example http://123.456.678.888), doing login, setting and etc. I also have set my DNS A record to point to this IP, for example http://somedomain.com to point to IP 123.456.678.888. However, when I tried to access MACC website through http://somedomain.com, somehow I was redirected back to access IP (http://123.456.678.888). In other word, our MACC web is only accessible through http://123.456.678.888, but not from http://somedomain.com. This makes me unable to apply SSL certificate request, as http://123.456.678.888 is considered as invalid domain name.
Anyone can help me?

Thank you in advance for all helps and suggestions.

-Lucky I. Ismail

0 2017-12-8 11:27:07 View all replies
About the secondary probelm :
If the SSO is enabled, and domain for access is needed. It requires to change the SSO URL to domain name on “vi /macc/install/tomcat/macc_conf/macc3/macc3_sso.properties”  or Copy to PC via SFTP.

0 2017-12-8 16:18:30 View all replies
Levy replied at 2017-12-8 10:27
About the secondary probelm :
If the SSO is enabled, and domain for access is needed. It requires to ...

Hi Levy,

Thank you for your suggestion. It works. Now, accessing http://somedomain.com won't be redirected to http://some_IP_address.

However, it goes back to IP address if I access through port 8090, to access upgrade, HTTPS setting and backup. So, accessing http://somedomain.com:8090 is still redirected to http://some_IP_address:8090. Any clue?

Thank you, I really appreciate your help.

-Lucky I. Ismail

0 2017-12-10 16:00:30 View all replies
About the first problem, I have tested locally, if you follow the guide, this circumstance won't appear, and I will show you  the way to change the timezone.

5HDRD`5G32SKGY@`A1XKO9P.png

0 2017-12-12 15:59:49 View all replies
Levy replied at 2017-12-10 15:00
About the first problem, I have tested locally, if you follow the guide, this circumstance won't app ...

Thank you, Levy.
This has solve my first problem.

0 2017-12-12 16:05:13 View all replies
Levy replied at 2017-12-8 10:27
About the secondary probelm :
If the SSO is enabled, and domain for access is needed. It requires to ...

Beside editing /macc/install/tomcat/macc_conf/macc3/macc3_sso.properties as suggested, do I have to edit and change all IP to domain name at settings on these files too?

/macc/install/tomcat/macc_conf/properties/cas.properties
(variables: server.name and macc.server.name).

/macc/install/tomcat/macc_conf/properties/deploy_sso.properties
(variables: sso.server.name, deploy.server.name, and macc.server.address).

/macc/install/tomcat/macc_conf/sso.properties
(variables: sso.server.name, macc.server.name, deviceLicense.server.name, and ppsk.server.name)

Thank you in advance your your help.

Releated Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd