Error at "AliasDomain for website"

Discussion in 'Installation/Configuration' started by skarmoutsosv, Jun 16, 2012.

  1. skarmoutsosv

    skarmoutsosv New Member

    Error at "AliasDomain for website"

    Hi all,
    I followed the http://www.howtoforge.com/perfect-s...n-6.0-with-bind-dovecot-and-nginx-ispconfig-3
    Then I setup some dns, email and websites. All worked fine.

    Then I needed to make domain2.org and domain3.org to have the same content with domain1.org, so I created two "Aliasdomain for website", both pointing to domain1.org
    The above setting did not work as I expected. The domain2.org and domain3.org was serving a default ISPconfig web page.
    I played around with "Aliasdomain for website" and "Subdomain for website" from ISPconfig control panel and finaly deleted all these entries. Without any entry, both domain2.org and domain3.org are showing the content of domain4.org !

    I recreated the two "Aliasdomain for website" again but the result is as above.

    How can I make domain2.org and domain3.org to stop pointing at domain4.org and start pointing at domain1.org?


    P.S. I used only the control panel to do changes (I did not touch any file)
    However, I see at /etc/nginx/sites-available a file called domain1.org.vhost.err

    domain1.org is tsoumanis.eu
    domain2.org is dikastikosgrafologos.gr
    domain3.org is forensicdocumentexpert.gr
    domain4.org is computerlab.gr

    domain4 created without specific client (client0)
    domain2 created for client1

    Thank you in advance for you time to read this message.
     
  2. skarmoutsosv

    skarmoutsosv New Member

    Solved

    I restarted nginx
    Code:
    /etc/init.d/nginx restart
    and saw the message:

    Then I found at http://nginx.org/en/docs/http/server_names.html the following:

    So, i edited /etc/nginx/nginx.conf and uncomment the line:
    Code:
    server_names_hash_bucket_size 64;
    Then I restarted nginx and my long name domains are working fine.

    It could be nice to be informed from ISPconfig for the erroneous nginx setup.
     

Share This Page