#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2001
    Posts
    62
    Rep Power
    14

    Http://sameurl.com AND https://sameurl.com ?


    Hi all,

    Does anyone know if you can run the SAME url under both http and https?

    so...

    http://www.mydomain.com
    https://www.mydomain.com

    would point to the same website code, one secure, one not, and I could switch users between them via links where required. Wasn't sure if it could be the same domain or not.

    ?
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,316
    Rep Power
    7171
    Yes, you can point as many domains and ports as you want to at the same code. There is no restriction that limits you to only hosting a particular domain on one port or protocol.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

IMN logo majestic logo threadwatch logo seochat tools logo