Nginx - Cannot add new websites using IP wildcard

Discussion in 'Installation/Configuration' started by Blaasbalg, Dec 23, 2013.

  1. Blaasbalg

    Blaasbalg Member


    I seem to be having issues with adding new websites using the IP wildcard (*).

    I currently have 1 website which uses a dedicated IP address, and when I try to add a new website using the IP wildcard, nginx starts to complain. The vhost file of the newly created website in sites-enabled states:

    Is there a solution for this problem?
  2. zenny

    zenny Member

    §1. Restart nginx server:

    #/etc/init.d/nginx restart
    §2. Read or post the output of
    #cat /etc/nginx/sites-available/example.tld.vhost.err > vhost_error.txt
    and post the text file here.
  3. Blaasbalg

    Blaasbalg Member

    Thanks for your reply zenny, here it is:

  4. Blaasbalg

    Blaasbalg Member

    Any ideas what could be causing this issue?

    This issue is currently preventing me from using my server for client websites, so for me, it's quite urgent.
  5. Blaasbalg

    Blaasbalg Member

    Anything at all? :(
  6. Blaasbalg

    Blaasbalg Member

    I've finally found the cause of the issue.

    It turns out that nginx wasn't able to start correctly because of this:

    Increasing the server_names_hash_bucket_size value solved the issue. :)

Share This Page