is an alias for non SSL domain1 to SSL domain2 possible without errors?

Discussion in 'HOWTO-Related Questions' started by adamjedgar, Dec 17, 2019.

  1. adamjedgar

    adamjedgar Member

    Is it possible to create an alias from one domain without ssl to a different domain with ssl?

    I have redirect to with SSL redirect to with SSL

    However, 2 of my clients have managed to purchase themselves domain extensions that are not needed so both have similar problems.

    I want to have browser simply redirect the incorrect domain names to correct ones. Example,

    For client 1 needs to display (i have added into SSL cert)

    for client 2 needs to display

    neither are working. I really dont want to have to setup separate virtual hosts with their own public html directories within apache and add htaccess file in order to do this, can this not be done using an alias? Is there no other option?
  2. Steini86

    Steini86 Active Member

    What have you tried so far and "is not working"?
    Just configure it as an alias domain and make a http -> https redirect on the main domain.

    Keep in mind, that you clear your browser cache after you made a change (or use incognito mode). The 302 (permanent) redirects are being cached in the browser and you would not recognize changes.
  3. adamjedgar

    adamjedgar Member

    So i cant do an alias from a http .org to a https .com without any actual htaccess file in a public html directory? Does apache support this?

    exactly how do i do this...I am happy to be shown in ISPConfig (cause i cant get it working there either) ISPConfig 3 keeps wanting me to setup a client account for the alias (at least i think thats what it wants?). I am a bit confused.

Share This Page