Replace only Main-URL

Discussion in 'Installation/Configuration' started by iceget, Mar 30, 2020.

  1. iceget

    iceget Member

    dear community,
    we have a old web. now we go online with the (from
    some peoples uses now

    can anybody tells me how i can now automatic replace only the to without loosing the /site/index?1234 parameter through redirection function in ispconfig?

    i only want rewrite the to

    that then the customer will be redirected directly to the new page

    thank you so much

    many greets iceget
  2. Steini86

    Steini86 Active Member

    You have several options to do that. The easiest ones:
    Create the web as and choose (*) as "auto subdomains". Then all subdomains (web, www, ...) will go to that website. Then you can also create a SEO redirect (second tab) from * ->
    But as you mentioned, you 'only' want to redirect This could be done by an alias domain. Create as the main domain. Use as the auto subdomain and use SEO redirect * -> Then create an aliasdomain ->
  3. iceget

    iceget Member

    Thank you so much!
  4. iceget

    iceget Member

    Thank you, i have tried both ways. first way i get only a certiifacte error. can you tell me what i have to activate on redirect type?

    have attached the both screenshot.

    thank you

  5. Steini86

    Steini86 Active Member

    Usually alias domains and auto subdomains are added to the certificate (when it is reissued). However, certbot/ispc does not support wildcard certificates. So you have to explicitly specify the domain as alias domain and issue a new certificate to include it.
    (disable letsencrypt, use "certbot remove" to remove cert, reenable letsencrypt for that web. Now it should have all specified domains validated)
  6. iceget

    iceget Member

  7. iceget

    iceget Member

    Dear Steini,

    thank you. Okay i will try this. But what i have to check on alias domain on Redirect Type? Or what are the correct settings that all from goes to

    and what you mean with "use certbot remove"?

    can you maybe tell me the correct settings?

    thank you so much
  8. Steini86

    Steini86 Active Member

    See manual section (page 158).
    I would suggest to first try your setup with an unsused (sub)domain. When it is working as desired, use the settings for your production domain
    To remove a certificate, execute "certbot remove" on the CLI and and choose your domain. Then lets create the certificate again via ispc
  9. iceget

    iceget Member

    Thank you so much for your help!
    Steini86 likes this.

Share This Page