NGinx and Subdomains rewrite.

Discussion in 'Installation/Configuration' started by EckyBrazz, Aug 1, 2012.

  1. EckyBrazz

    EckyBrazz New Member


    When using Cpanel and creating a subdomain (exp
    it created a directory in /home/domanin/public_html/www3/

    Now I copied over all content of this domain, created a subdomain in ISPconfig 3, created a DNS zone for it
    A 	www3 	66.7.XXX.XX 	0
    But got a little stuck on how to redirect is so that the /var/www/client.../www3 works like

    My server setup : Nginx on Ubuntu (followed the guide )
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    In ISPConfig this works a bit different as in cpanel, instaed of adding a subdomain record, which is a special kind of alias of a existing site and is used when a subdomain shall not have its own directory, you add a new website for the subdomain. Click on new website, enter in the domain field and click on save. Thats also describd in the website section of the manual.
  3. EckyBrazz

    EckyBrazz New Member

    Manual of 333 pages. Sorry I missed that part.

    Thanks again

Share This Page