Skip to main content

disable redirect SSL to default / primary website

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! There sure is - you can use the following guides to set up the default pages that Apache serves:
    0
  • webstyler
    Hey there! There sure is - you can use the following guides to set up the default pages that Apache serves:

    Hello Thanks for reply I've check the second link, that is what we need. But seems the only solutions is to define a primary website, that is not really fine. By this way i give traffic to other customer, and I could see content with not correct domain name on browser. One solution may be to create a dedicate account, with error page, and elevate this to "not found" .. But, cPanel/WHM don't already have any integrated solutions for this?? There isn't an option where if a domain is not present on server this give error (as happen for http) ?? Thanks
    0
  • cPRex Jurassic Moderator
    The best way would be to create a site on the server to handle this. This is a limitation of Apache as it will always try and serve the closest match to whatever request it receives, so setting up a site to be the default is the best way to handle this.
    0

Please sign in to leave a comment.