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!

Help DNS

Discussion in 'Bind/DNS/Nameserver' started by virmix, Nov 20, 2009.

  1. virmix

    virmix Member

    Joined:
    Nov 20, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    I need help with this:

    Domain: my-domain.com
    DNS:

    cpanel A IP
    www A IP
    FTP IP

    This is normal, I want to create this:

    lnx CNAME www

    The system accepts me, but shows no content to display if public_hmtl entered www.

    www.my-domain.com to lnx.my-domain.com (I and want to show the same)

    That is, is like creating a subdomain and point to the folder but using the DNS.

    How can I do?
     
  2. mickbeng

    mickbeng Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Penang, Malaysia
    Why not you try this?

    Code:
    lnx IN CNAME www.my-domain.com.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,544
    Likes Received:
    9
    Trophy Points:
    268
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    It will help to know more about how you're needing the sub-domain to function; for example, are any of the following similar to your requirements?

    1.) Are you needing the sub-domain to show the same web site as the parent domain of the zone?
    2.) Are you needing the sub-domain to show the same web site as and also redirect to the parent domain of the zone?
    3.) Are you needing the sub-domain to show a different web site than the parent domain of the zone, such as a site in a unique sub-directory made just for the sub-domain?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. virmix

    virmix Member

    Joined:
    Nov 20, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    Only I need that the main subdomain "www" will be the same of subdomain "lnx"

    www.my-domain.com is the same of lnx.my-domain.com or www.lnx.my-domain.com

    But only with DNS not using the subdomain redirection. I need something like domain alias.
     
  5. virmix

    virmix Member

    Joined:
    Nov 20, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    Why I need this method :


    I have a Linux server with CPANEL and other server with Windows

    I want 2 subdomain.

    - lnx.my-domain.com point to Linux Server
    - win.my-domain.com point to Windows Server

    And the subdomain "www" point when I want to "lnx" or "win"

    How do it this?
     
  6. mickbeng

    mickbeng Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Penang, Malaysia
    Try this,

    Record with A
    lnx IN A [Linux IP]
    win IN A [Windows IP]
    www IN CNAME lnx.my-domain.com. (include the last dot)

    OR

    Record with CNAME
    lnx IN CNAME [Linux Host]
    win IN CNAME [Windows Host]
    www IN CNAME lnx.my-domain.com. (include the last dot)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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