Welcome! Log In Create A New Profile

Advanced

nginx goes down after creation of subdomains

Posted by estebanc 
nginx goes down after creation of subdomains
June 14, 2014 10:47AM
Hello,

I provide web hosting with cPanel + Linux CentOs + PHP + MySQL + nginx

But usually when one of the users wants to create a subdomain the nginx goes down taking down all the websites of the server.

If I login as root and do:

/etc/init.d/nginx start

Starting nginx daemon: nginx nginx: [emerg] no host in ":80" of the "listen" directive in /etc/nginx/vhosts/subdomain.domain.com:3

I want to avoid all the websites down as result of one error in just one account.

Ideas?

Thank you
Re: nginx goes down after creation of subdomains
June 14, 2014 11:21AM
Yes, setup and use change management and stop allowing access to 'idiots'.
http://en.wikipedia.org/wiki/Change_management

---
nginx for Windows http://nginx-win.ecsds.eu/
Re: nginx goes down after creation of subdomains
June 14, 2014 11:32AM
itpp2012 Wrote:
-------------------------------------------------------
> Yes, setup and use change management and stop allowing access to
> 'idiots'.
> http://en.wikipedia.org/wiki/Change_management


I agree. We are going ahead with this right now.

But I need help during the transition to solve this in the meanwhile :)

Thanks !
Re: nginx goes down after creation of subdomains
June 14, 2014 01:07PM
Use email or some other media to handle change requests until you have something like SIT (http://sitracker.org/) in place.

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready