DNS - Subdomain forwarding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Frank Hagan
    Senior Member
    • Mar 2004
    • 724

    #1

    DNS - Subdomain forwarding

    I have a domain I'm using for a domain name reseller account. I can point the "http://www.mydomain.tld" domain to the reseller account by using a CNAME record, and configure their control panel to accept it:

    www.mydomain.tld IN CNAME www.otherdomain.tld

    Works like a champ ... when you type "www.mydomain.tld" in the browser, up comes the site at "www.otherdomain.tld".

    They also give me an IP address to use for a sub-domain used for sub-resellers who sign up under me:

    reseller.mydomain.tld IN A 0.0.0.126

    This also works great ... type in "reseller.mydomain.tld" and up comes the "reseller.otherdomain.tld" site.

    There are also two additional URLs used for accessing the control panels to manage the domain names, one for customers and sub-resellers. I would like to have a sub-domain point to them, but I only have the URL, not the IP address. So:

    customer.mydomain.tld IN A www.otherdomain.tld/customer

    Does not work ... so I suspect A records always require an IP address. WHM will accept it as a CNAME entry, but I'm not sure if that will work. Anyone have any ideas on this one?
  • Pedja
    Senior Member
    • Mar 2004
    • 329

    #2
    You cannot do that using DNS. DNS works only on IP addresses and domains, not URL's.
    It would work if they set www.otherdomain.tld/customer to be accessible as customer.otherdomain.tld and then you set

    customer.mydomain.tld IN CNAME customer.otherdomain.tld

    Comment

    • Frank Hagan
      Senior Member
      • Mar 2004
      • 724

      #3
      Thanks, Pedja. They did respond and say that I could use CNAME records to point to it, but I'm unsure if this format would work:

      customer.mydomain.tld IN CNAME www.otherdomain.tld/customer

      Or if I should stick with:

      www.mydomain.tld/customer IN CNAME www.otherdomain.tld/customer

      Guess I'll try it and see!

      Comment

      • AndrewT
        Administrator
        • Mar 2004
        • 3656

        #4
        You cannot use www.otherdomain.tld/customer at all. HTTP URLs like that will not work, only valid domains and subdomains can be used.

        Comment

        • Frank Hagan
          Senior Member
          • Mar 2004
          • 724

          #5
          Thanks, Andrew! I think you saved me a few hours of frustration!

          I'll get back to them and find out what the valid URL is for the "customer control panel" login on their site.

          Comment

          • Frank Hagan
            Senior Member
            • Mar 2004
            • 724

            #6
            Well ... round two ....

            They have given me an IP address, but it doesn't seem to be resolving. I created two A records Friday:

            manage.MyDomainName.tld. IN A 67.15.47.4
            controlpanel.MyDomainName.tld IN A 67.15.47.4

            When I try to surf to the domains above, the browser gives me the default search engine page (Google, in my case) with the error message that "Your search ... did not match any documents".

            I can ping the IP address OK, but if I put it into a browser's address bar, I get an error from their system.

            I'm thinking If they didn't configure their system to look for my subdomains on that IP address, I might get that browser error. Or, if the DNS records are not being updated from my server here at Dathorn, then I might get that error (but I'm betting the problem is on their end!) Any advice?

            Comment

            • AndrewT
              Administrator
              • Mar 2004
              • 3656

              #7
              As always, submit a trouble ticket and we can take a look at it.

              Comment

              • Frank Hagan
                Senior Member
                • Mar 2004
                • 724

                #8
                Just did ... didn't want to do it prematurely, as it usually isn't Dathorn's issue! I think of all the trouble tickets I've submitted, about 99% have been either on my end or somewhere else "out there".

                Comment

                • toecheese1
                  Member
                  • Feb 2005
                  • 34

                  #9
                  How are you editing the DNS entries? I thought I had done it in the past, but don't see anything in WHM or cpanel to modify A or CNAME records.

                  Comment

                  • AndrewT
                    Administrator
                    • Mar 2004
                    • 3656

                    #10
                    Submit a ticket and let us know what you would like added or modified.

                    Comment

                    Working...