nginx rewrite on ISPConfig3

Discussion in 'Tips/Tricks/Mods' started by RedBeard, May 27, 2014.

  1. RedBeard

    RedBeard New Member

    Hi,
    I'm trying to find the best way to make the "www.mydomain.com" rewrite to "mydomain.com" using ISPConfig under nginx.

    I can do it setting Sites/Domain/Auto-subdomain to NONE and adding a new subdomain with Host 'www' redirecting to http://mydomain.com.

    Is this the best (or only) way?

    The goal is to have only one address to improve SEO score.

    Best Regards from Brazil (sorry my poor english)

    RedBeard
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Why dont you use the rewrite option that exists for that purpose on the rewrite tab of the website?
     
  3. RedBeard

    RedBeard New Member

    Oops... my fault. (I knew there was a easy way to do this... )
    I was thinking that Rewrite tab was used only to move a entire website to a new location.
    I will try that now.
    Thank you for the reply and for the amazing software.
    B.R.
     

Share This Page