Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

http and https same domain different servers

Options
  • 13-01-2009 3:05pm
    #1
    Closed Accounts Posts: 174 ✭✭


    Can I get
    http://www.domain.com to point at one server
    and
    https://www.domain.com to point to another server

    I will be running an application on the https, I just want to keep the website and email on a different machine for security and performance reasons.

    If the above can't be done, can I do it with a sub domain.
    https://sub.domain.com

    Thanks


Comments

  • Registered Users Posts: 68,317 ✭✭✭✭seamus


    You can definitely do it with a different hostname.

    So you have one server http://www.domain.com

    and then a second https://secure.domain.com

    This is a pretty common way to do it. You can resolve conflicts by catching all non-secure connections to secure.domain.com and redirecting them to www.domain.com (and vice-versa).

    I'm sure a load balancer will allow you to use the same hostname for different services on different machines, but I would say that just using different hostnames is the easiest way.


  • Subscribers Posts: 9,716 ✭✭✭CuLT


    You can also just have http://domain.com and https://domain.com as https is generally run on port 443, http on 80.

    Depending on how you intend to implement it, seamus' suggested method may be more appropriate.


  • Closed Accounts Posts: 174 ✭✭patftrears


    Thanks for the posts.

    I going to go with a sub domain.
    I think this is the general solution. Any comments welcome

    Domain Name Provide
    -> Here I set the name servers for HostingCoAAA

    HostingCoAAA
    -> Here I set an A record to direct the sub domain to HostingCoBBB


Advertisement