Nginx Issue

Status
Not open for further replies.

hazhayder

Verified User
Joined
Oct 26, 2014
Messages
10
i just installed nginx on my directadmin
using this guide https://forum.directadmin.com/showthread.php?t=49438
but now its showing Nginx is functioning normally on all my websites hosted on that server, Where is the old data
I tried to open a website through IP then its working perfect but if i open website via domain i face NGINX FUNCTIONING Normally error on all pages please help me how can i solve this problem
 
Last edited:
Hello,

Make sure your domain when checking with nslookup gives the same IP, which you see in nginx virtual host for that domain.
If you want I could check your server.
 
I had sent you the details

Hello, Thanks for your reply i have send you the details in Private Message Area. Please look into this
 
Hello,

Your directadmin version is too old and does not support either custombuild 2.0 or nginx.
 
What the actual bleep. I googled and googled for this and this was the fix. Here is what I searched for and found (its of relevance), just incase anyone else has issues:

Google searches:
- https://www.vultr.com/docs/installing-nginx-on-directadmin
- https://help.poralix.com/articles/iphone-does-not-open-https-site-safari-nsposixerrordomain :confused:
- http://www.webhostingtalk.com/showthread.php?t=962338
- https://trac.nginx.org/nginx/ticket/915 :confused:

Just so you guys know, the server IP address should make clear your web server responds in Safari however Google Page Insights page speed reduction should identify Nginx as the issue, so removing mod security as described solved this for me.

Now onto finding out what we loose because of loosing Apache/Nginx's modsecurity?? If anyone knows please let me know.
 
If I recall it correct... the TS used to have too old Directamin version and all the /usr/local/directadmin/data/users/*/nginx.conf were empty. Thus no virtual servers were present in NGINX configs hence the default page was displayed.

So it should be investigated individually per incident.
 
Status
Not open for further replies.
Back
Top