What type of redirect do I need??

Discussion in 'ISPConfig 3 Priority Support' started by wwhtf, Mar 8, 2015.

  1. wwhtf

    wwhtf New Member

    Hello, I am trying to figure out the type of redirect I need to create in ISPConfig3 for this scenario:

    example.net and www.example.net --> www.example.com
    example.org and www.example.org --> www.example.com
    (I already have example.com --> www.example.com)

    I re-read the ISPConfig3 manual and this thread but still can't seem to get it working right.

    In summary, I want the .net and the .org to redirect to www.example.com (either 301 or 302)

    Thanks in advance for any feedback.
  2. till

    till Super Moderator Staff Member ISPConfig Developer


    Seo redirect * => www.example.com

    in the website settings. Do not configure a redirect in the .net and .org alias domains.
  3. wwhtf

    wwhtf New Member

    Thanks Till, your solution is so simple, lol.

    Here is the alternative that I had come up with that I believe also produces similar results (not as simple as yours and I am switching to your method):
    • SEO redirect in example.com: domain.tld => www.domain.tld (needed for either solution anyway)
    • Auto-Subdomain in example.net aliasdomain: www
    • Redirect type in example.net aliasdomain: R,L or R=301,L
    • Redirect path in example.net aliasdomain: http://www.example.com/
    • SEO redirect in example.net: domain.tld => www.domain.tld
    But like I said, yours is much simpler, so I will use it

    Thank you!

Share This Page