Skip to main content

New added website always redirects an irrelevant website in my hosting

Comments

5 comments

  • cPanelJohn
    Hello,
    Hello everyone! I install a new web site and connect it my cpanel, but it always redirects me to an irrelevant website in my hosting.

    Does this only occur when accessing your new website with https://? By default, Apache will serve the first SSL VirtualHost on the same shared IP address in its configuration when accessing a website that does not have an SSL.
    0
  • Teyfik Tehlike
    Thanks for reply :) I solved my problem with exactly the same solution that you told. I did not activated SSL while i was installing the website.
    0
  • cPRex Jurassic Moderator
    I'm glad getting the SSL setup took care of the issue!
    0
  • Michael Legg
    What was the solution? - I don't see one mentioned
    0
  • OfficialHax
    What was the solution? - I don't see one mentioned

    This is the (abit annoying) expected behaviour of Apache. The fix is to install a SSL certificate on the site in question, i.e throught lets encrypt.
    0

Please sign in to leave a comment.