Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Edit DNS zone to direct to https

Discussion in 'Bind/DNS/Nameserver' started by sc00zy, Jan 2, 2006.

  1. sc00zy

    sc00zy Active Member

    Jan 2, 2006
    Likes Received:
    Trophy Points:
    Assen, The Netherlands
    I want to direct a subdomain like to an ip address with https. How do I do that when editting the DNS zone? If I fill in the IP it's http by default.

    This is what I have right now:

    hosting 14400 IN A 14400 IN A

    Thanks in advance!
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. nothsa

    nothsa Well-Known Member

    Nov 30, 2004
    Likes Received:
    Trophy Points:
    You're looking at 2 things here. The DNS will point the name to an IP address. On that IP address (server), you can have a multitude of things running including both http AND https. Neither http or https works "by default" as you say, it uses whatever the user enters in their address bar in their browser. I would suggest adding another DNS entry like:
    which will make point to the same IP, then redirect the user to when you want to send them to the secure site.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice