EDIT/INCREASE server names hash bucket size

If you’re using nginx, and your domain name exceeds 32 characters, you may receive an error message when you restart the web server.
Quite likely, you need to tell nginx to allow for longer domain names.
To do so, open your config file. For you installed Nginx using a package manager, you can access this with:-
Setup Unmanaged VPS: The Ubuntu-Nginx Guide
Take your virtual private server from zero to hero
.. from blank box to cute-as server ..
with this easy-to-follow copy/paste guide.
22+ parts with video, here’s the index.
For others, who compiled from source:-
.. and in there, within the http section, that looks like this ..
Just add this line:-
Save the file.
Reboot nginx:-
And your longer domain name should work. If the name is longer than 64 characters, swap the ‘64′ value for 128, but I pity your users

Got a Question? Want to Comment?
This site has no comments system. We've got a better system!
Please use the link at the top of the post and goto this topic's forum thread:-
For those posts ported from Guvnr.com (pre-Feb/2010), archive comments remain.
Handy info from these comments is in the process of being ported to the forum and attributed to the original author.
If you think this idea sucks, let me know.
Thank you.