sap-labs-france / ev-dashboard

The Open e-Mobility Charging Station management front-end Angular application (check also ev-server and ev-mobile)
https://open-e-mobility.fr/
Apache License 2.0
66 stars 102 forks source link

Unable to access subdomain after creating organization #3546

Closed CTtest725 closed 1 year ago

CTtest725 commented 1 year ago

I created a new organization and tried to access the page via subdomain, which I set it to be "testing". However it didn't seems to be working and I could not access it.

with the subdomain: image

without subdomain: image

I have checked mongodb and the organization is indeed created and I have tried restarting both the server and dashboard already but it didn't help.

Not sure is this the cause of issue but I am using AWS EC2 to create this project. What can I do to fix this?

Thanks in advance and I appreciate the good work you all have created!

CTtest725 commented 1 year ago

Updated: Solved by adding the ip address to my computer's host file. Assigning both to the same ip address is fine.

E.g. 192.168.0.1 example.com 192.168.0.1 subdomain.example.com

then the whole url will be: subdomain.example.com:45000