The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help DNS

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

  1. virmix

    virmix Member

    Joined:
    Nov 20, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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:
    6
    Location:
    Penang, Malaysia
    Why not you try this?

    Code:
    lnx IN CNAME www.my-domain.com.
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    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?
     
  4. virmix

    virmix Member

    Joined:
    Nov 20, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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:
    1
    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:
    6
    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)
     
Loading...

Share This Page