Results 1 to 9 of 9
  1. #1

    Domain goes to a completly different website when https instead of http?

    Hi there,
    I don't know what section I should post this in so ill just post it here and hopefully someone can help me lol.

    I've got a domain, say example.com.

    I visit my website by going to http://example.com...
    Now when I put https://example.com, I get directed to a completely different website?

    Just wondering if someone could explain this to me or help me out here.

    Thank you.

  2. #2
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    5,849
    When a visitor connects through SSL the request matches a different Apache virtualhost. There's no reason (other than some control panel conventions) why that should lead to the same website, in fact traditional setups deliberately keep the ssl and non-ssl sites separate (eg. public_html vs private_html).
    Chris

    "Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter

  3. #3
    Join Date
    Jul 2009
    Location
    NC
    Posts
    938
    Quote Originally Posted by foobic View Post
    When a visitor connects through SSL the request matches a different Apache virtualhost. There's no reason (other than some control panel conventions) why that should lead to the same website, in fact traditional setups deliberately keep the ssl and non-ssl sites separate (eg. public_html vs private_html).
    I think that was a bit too technical for the question/post-count.

    Quote Originally Posted by simon555 View Post
    Hi there,
    I don't know what section I should post this in so ill just post it here and hopefully someone can help me lol.

    I've got a domain, say example.com.

    I visit my website by going to http://example.com...
    Now when I put https://example.com, I get directed to a completely different website?

    Just wondering if someone could explain this to me or help me out here.

    Thank you.
    This is not uncommon if you are on a shared IP and do not have an SSL certificate for your site installed on the server.


    If you want to use HTTPS to visit your site securely, you need to have an SSL certificate installed on the server for that domain.
    - Do you have one?

    In order to have an SSL certificate installed on the server for that domain, you need to have a dedicated IP assigned to the domain.
    - Do you have one?


    .
    ☆☆☆ Cool Domain Names - DomainSale.link☆☆☆

  4. #4
    Join Date
    Oct 2011
    Location
    Kansas
    Posts
    1,266
    That problem can happen if you don't have a dedicated ip address for your site/domain.

    Chad
    Webmasterbabble.com Webmaster Forum
    Come join us at webmasterbabble.com

  5. #5
    Quote Originally Posted by GORF View Post
    I think that was a bit too technical for the question/post-count.



    This is not uncommon if you are on a shared IP and do not have an SSL certificate for your site installed on the server.


    If you want to use HTTPS to visit your site securely, you need to have an SSL certificate installed on the server for that domain.
    - Do you have one?

    In order to have an SSL certificate installed on the server for that domain, you need to have a dedicated IP assigned to the domain.
    - Do you have one?


    .
    I have neither but ill be getting one now.

    Thanks for the replys I understand now

  6. #6
    Join Date
    Feb 2006
    Location
    Kepler 62f
    Posts
    16,703
    https is a different website.
    || Need a good host?
    || See my Suggested Hosts List || Editorial: EIG/Site5/Arvixe/Hostgator Alternatives
    ||

  7. #7
    Join Date
    Jan 2005
    Location
    Minneapolis, MN
    Posts
    966
    Quote Originally Posted by GORF View Post
    In order to have an SSL certificate installed on the server for that domain, you need to have a dedicated IP assigned to the domain.
    - Do you have one?
    That depends. If you're on cPanel (very likely) and an OS that supports it (likely) then you don't need a dedicated IP to install your own SSL

    http://blog.cpanel.net/ssl-improvements-for-cpanel-whm/
    Doyle Lewis
    BuyHTTP Internet Services - In business since 2003
    Business Hosting | nginx, CloudLinux, Varnish cache, and CDP with every business account
    Shared, Reseller, Semi Dedicated, VPS, Cloud, Dedicated - We can grow with you

  8. #8
    Join Date
    Jul 2002
    Location
    London, United Kingdom
    Posts
    4,455
    Quote Originally Posted by simon555 View Post
    Now when I put https I get directed to a completely different website?
    If you don't have a fixed IP address and SSL certificate, then that would be quite common.
    Rob Golding Astutium Ltd - UK based ICANN Accredited Domain Registrar - proud to accept BitCoins
    Buying Web Hosts and Domain Registrars Today @ hostacquisitions.co.uk
    UK Web Hosting | UK VPS | UK Dedicated Servers | ADSL/FTTC | Backup/DR | Cloud
    UK Colocation | Reseller Accounts | IPv6 Transit | Secondary MX | DNS | WHMCS Modules

  9. #9
    Join Date
    Oct 2013
    Location
    Everywhere
    Posts
    696
    Sometimes clients try to install their own SSL's within cPanel. It can mess things up and this can be the side effect.

Similar Threads

  1. http vs https
    By anupam27 in forum Web Design and Content
    Replies: 12
    Last Post: 10-10-2013, 09:29 AM
  2. http/https www to non-www https redirect
    By StealthyHosting in forum Web Design and Content
    Replies: 6
    Last Post: 05-23-2012, 10:26 PM
  3. SSL on https://domain.com vs https://www.domain.com
    By sbogde in forum Hosting Security and Technology
    Replies: 3
    Last Post: 10-02-2007, 05:40 AM
  4. Can I setup http and https access on one domain with matrix control panel?
    By jumphog in forum Hosting Security and Technology
    Replies: 0
    Last Post: 08-17-2006, 07:56 AM
  5. (urgent) map/redirect http://website to https://website
    By ravan in forum Programming Discussion
    Replies: 2
    Last Post: 07-27-2006, 01:42 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •