Skip to main content

Issue with Domain

Comments

29 comments

  • cPRex Jurassic Moderator
    Hey hey! Are you trying to send the sub.domain.com website to a different server? If that's the case, you'd need to make sure the DNS is managed at the place where you created the A record, or else it will not be read in the DNS system.
    -1
  • ankeshanand
    Hi there.. Me again, I am having another problem.. Someone asked me to link a subdomain I have, from my main domain, to a an IP he mentioned me so that his service could be used. But eventhough I made the A record to it, the configuration isnt working. Is there anything I could do to solve this? Thanks in advance

    If You created a Sub-Domain and the Nameservers are not pointed to cPanel DNS, You need to manually add a DNS A Record in DNS Management from where you manage the Domain's DNS. If Its Already pointed to cPanel Nameservers, then It would automatically do everything. Remember that DNS Record propogations can take upto 24 hours depending on Registrar and ISPs. If You need Quick Response, Use a VPN and then load the Sub-Domain
    0
  • Ramaaa
    Hi rex, the system is hosted with a different IP, I assume in their server. I need to point my sub.domain.com to that IP. I did the A record in the DNS Zone from my domain. Should I make a new DNS Zone maybe just for that sub.domain.com?
    0
  • Ramaaa
    If You created a Sub-Domain and the Nameservers are not pointed to cPanel DNS, You need to manually add a DNS A Record in DNS Management from where you manage the Domain's DNS. If Its Already pointed to cPanel Nameservers, then It would automatically do everything. Remember that DNS Record propogations can take upto 24 hours depending on Registrar and ISPs. If You need Quick Response, Use a VPN and then load the Sub-Domain

    Hi there! Thanks for helping. Is there a way to test what you are saying? I have DNS in WHM in the VPS
    0
  • cPRex Jurassic Moderator
    First you would need to find out where the DNS is hosted for the domain, as the changes you make in cPanel or WHM may not work at all.
    0
  • cPRex Jurassic Moderator
    You could use a tool like intoDNS: checks DNS and mail servers health to tell you what nameservers the domain is using. It will be in the very top section of the results on the page.
    0
  • ankeshanand
    Hi there! Thanks for helping. Is there a way to test what you are saying? I have DNS in WHM in the VPS

    Go to WHOIS of your Domain and Check which nameservers are being used. Change them to your cPanel DNS Nameservers and thats all. cPanel would then manage your Domain's DNS and would automatically create Records once you add Any Sub-Domains!
    0
  • Ramaaa
    You could use a tool like
    0
  • cPRex Jurassic Moderator
    I don't believe that would help much since we don't know the domain. You just need to see the nameservers it reports and if those point to your cPanel server or if they point to some other location.
    0
  • Ramaaa
    I don't believe that would help much since we don't know the domain. You just need to see the nameservers it reports and if those point to your cPanel server or if they point to some other location.

    The nameservers point to a different IP from my VPS (Where cpanel & WHM are)
    0
  • Ramaaa
    Go to WHOIS of your Domain and Check which nameservers are being used. Change them to your cPanel DNS Nameservers and thats all. cPanel would then manage your Domain's DNS and would automatically create Records once you add Any Sub-Domains!

    I did the search, the nameservers have different IP from my VPS IP. What should I do?
    0
  • ankeshanand
    The nameservers point to a different IP from my VPS (Where cpanel & WHM are)

    Do One thing, First Tell me the Hostname of VPS, ThenI'll tell every step from start!
    0
  • cPRex Jurassic Moderator
    If the IP is not your cPanel server, you wouldn't be able to make DNS change in cPanel or WHM. The changes would need to be made at the location of the nameservers.
    Do One thing, First Tell me the Hostname of VPS, ThenI'll tell every step from start!

    It's best to avoid posting any domains publicly on the forums. Not only us, but many other forums, have seen that information used maliciously in the past (spam email, DoS attacks, etc.)
    0
  • Ramaaa
    Do One thing, First Tell me the Hostname of VPS, ThenI'll tell every step from start!

    Hostname is REDACTED (I didnt do that, the guy before might have)
    0
  • cPRex Jurassic Moderator
    I "REDACTED" your hostname from the post. See above for the reasons why.
    0
  • ankeshanand
    Hostname is dogo2.xuban.com (I didnt do that, the guy before might have)

    Lets start from begginning! Your domain is example.com for Example which is already added to cPanel Go to cPanel>Domains>(Select Domain)>Zone Editor> Add Records
    Name Type Host
    server A Record (Your VPS IP Address)
    ns1 A Record (Your VPS IP Address)
    ns2 A Record (Your VPS IP Address)
    Go to the Website where you registered the Domain. Go to DNS Management on that Website. Add the Same 3 Records like you added in cPanel. Then wait 2-3min, Then Go to Change Nameservers section of that Website where you registered your Domain. Change it to: 1. ns1.example.com 2. ns2.example.com Then Connect to a VPN(So that You can still be connected to the Server even when you change anything as most ISPs take 24 hours to propogate any DNS Changes), Go to WHM, Select option Change Hostname and Enter server.example.com . Its Done, Everything is under your Domain and Everything including DNS is managed by cPanel and You don't need to add any further A Records for Creating Sub-Domains as cPanel does DNS automatically!(Don't forget to Disconnect VPN on your Computer after sometime because till that time, DNS is already propogated to your ISP) Good Luck!
    0
  • ankeshanand
    I "REDACTED" your hostname from the post. See above for the reasons why.

    LOL! I can still see it
    0
  • Ramaaa
    I "REDACTED" your hostname from the post. See above for the reasons why.

    Sorry Rex, didnt know. Im really sorry
    0
  • Ramaaa
    May
    Lets start from begginning! Your domain is example.com for Example which is already added to cPanel Go to cPanel>Domains>(Select Domain)>Zone Editor> Add Records
    Name Type Host
    server A Record (Your VPS IP Address)
    ns1 A Record (Your VPS IP Address)
    ns2 A Record (Your VPS IP Address)
    Go to the Website where you registered the Domain. Go to DNS Management on that Website. Add the Same 3 Records like you added in cPanel. Then wait 2-3min, Then Go to Change Nameservers section of that Website where you registered your Domain. Change it to: 1. ns1.example.com 2. ns2.example.com Then Connect to a VPN(So that You can still be connected to the Server even when you change anything as most ISPs take 24 hours to propogate any DNS Changes), Go to WHM, Select option Change Hostname and Enter server.example.com . Its Done, Everything is under your Domain and Everything including DNS is managed by cPanel and You don't need to add any further A Records for Creating Sub-Domains as cPanel does DNS automatically!(Don't forget to Disconnect VPN on your Computer after sometime because till that time, DNS is already propogated to your ISP) Good Luck!

    Maybe it should be readacted here as well
    0
  • ankeshanand
    May Maybe it should be readacted here as well

    I can see the Hostname, But still I took example.com!
    0
  • cPRex Jurassic Moderator
    @ankeshanand - your advice is fine, but that assumes he manages/owns the domain and has registrar access, which doesn't sound like it is the case.
    0
  • Ramaaa
    @ankeshanand - your advice is fine, but that assumes he manages/owns the domain and has registrar access, which doesn't sound like it is the case.

    The owners of the domain, at least once the domain is searched on the entity that manages all domains here, it shows that my employer is the owner.
    0
  • cPRex Jurassic Moderator
    And are the nameservers for the domain pointed to a server you have control over?
    0
  • Ramaaa
    And are the nameservers for the domain pointed to a server you have control over?

    Both nameservers have an IP 66...... Where can I check If they are really pointing to a server I have control over?
    0
  • cPRex Jurassic Moderator
    The IP address should be one you recognize. If that IP is pointed to one of your cPanel machines, you'd have control over the DNS.
    0
  • Ramaaa
    The IP address should be one you recognize. If that IP is pointed to one of your cPanel machines, you'd have control over the DNS.

    Both IP from the NS, I do not recognize them at all.. Could you tell me How can I check If those IP point to my main domain IP 162.....
    0
  • cPRex Jurassic Moderator
    So that's the answer - if you don't recognize the IP of the nameservers, they don't point to a machine you have control over. You can do one of two things: follow the earlier advice (if you do control the domain at the registrar) to switch the nameservers to be under your control, or contact the manager of the domain to have the A record placed on the proper nameservers.
    0
  • Ramaaa
    So that's the answer - if you don't recognize the IP of the nameservers, they don't point to a machine you have control over. You can do one of two things: follow the earlier advice (if you do control the domain at the registrar) to switch the nameservers to be under your control, or contact the manager of the domain to have the A record placed on the proper nameservers.

    Sorry to ask, the registrar should be the entity that manages all domains?
    0
  • cPRex Jurassic Moderator
    The registrar is where the domain is purchased and where you apply the nameservers. The nameservers are typically managed elsewhere.
    0

Please sign in to leave a comment.