Operating system: Ubuntu 18.0.4 with NGINX and Postgre
Browser + version: Safari 13.x, Firefox 69.x
### Expected behavior:
Should show the Zammad on entering the FQDN normally.
### Actual behavior:
On entering the FQDN in the browser: Cannot Connect to the server.
On entering the server IP: NGINX default page (Welcome to NGINX)
It works if I edit the /etc/nginx/sites-enabled/zammad.conf, and change the listening port to any other port e.g. 1010, 8080 etc. and access Zammad through IP:New Port(8080, 1010), or FQDN:(8080,1010)
Is this the way it is supposed to work, or have I missed something. Here is the zammad.conf in its entirety:
What do you mean with “it works”? What kind of page are you seeing? The welcome to NGINX page? That would make sense, anything else won’t.
With the information you supplied:
If the above really is your config and that’s really your fqdn it should work.
If the above really is your config and that’s not your fqdn change it and it should work.
If none of the above applies please provide further information.
No, that’s not the actual FQDN. There is a domain name instead of “fqdn” there.
I’m sorry, I should have specified this. When it works, it shows the zammad first visit set-up page. This happens when I modify the listening port from anything other than 80 in the zammad.conf, and enter the that port number in the address bar after the IP/URL.
If I specify 80 as the listening port, it shows the NGINX default page whether I enter :80 in the address bar or not.
Well, I just did the “dance” all over again, from scratch by wiping the server.
Installed from source again, and this time it is working - though I do not know why. Specially since I did nothing special this time around, and it was a new VM instance last time too. As a result I am in no better position to handle this problem if it comes up again.
I have the same problem. Installed CentOS 7. Installed “Server with GUI”, then Xfce. Installed elasticsearch and then Zammad. When i go to Localhost i get greeted by CentOS default page.
I have a not so good memory but IIRC it worked for me only when I did it on an Ubuntu server. I clearly remember moving from CentOS(my first choice) to Ubuntu because I was more familiar with it. Even then it took me multiple retries to get it working.
Anyhow from the first look, in your nginx.conf the webserver is listening on Port 81, while zammad.conf states Port 80. This is a sort of a conflict when webserver is asking you to look in port 81, while Zammad is available at port 80.
That should solve it. Feel free to reach out in case of any further help.
Yes im sorry i should have said something but i changed nginx to port 81 and now it works with Zammad. But i have concerns since it should work with both nginx and Zammad on port 80 according to the manual i was following.