1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

IP address of the subdomain domain

Discussion in 'Plesk 11.x for Linux' started by TechnergyS, Aug 10, 2012.

  1. TechnergyS

    TechnergyS Guest

    0
     
    Dear all

    I have a question related to the A record added when I create a new subdomain.

    Our plesk server is behind the firewall, so the plesk server is using internal IP address - say 10.1.1.1, so I configured the DNS template to use the public IP - say 202.202.202.202 when create the new domain and it is working fine.

    But when I create a subdomain inside, the subdomain can be created but the IP address of the A record of the subdomain say subdomain1.abc.com is the internal IP server. How can we configure the plesk to use public IP for the A record of the subdomain. Our subdomains are created with parents zone, that means the subdomains record were created in upper zone.

    Please let me know if you have any question, many thanks.

    Best regards

    Alex Tsang
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,546
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    You can switch subdomains to own zones. A record will be created according domain's DNS template in this case.
     
  3. TechnergyS

    TechnergyS Guest

    0
     
    Dear IgorG

    Is there any way to make it work in dns parent zone mode? Why I need this because I have two secondary DNS servers will do zone transfer with the Plesk DNS server, and people query those two secondary DNS servers for the zone records. So, if using parent zone, those two secondary DNS will have the A record for resolution no extra work need to be done.

    Best regards

    Alex Tsang
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,546
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    The problem in that A record of domain is created according to your custom DNS template. But A record for subdomain is created according to IP of hosting. It is root cause.
    Therefore I see only one workaround - switching to mode with own zones.
     
  5. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    The other option would be manually editing each sub domain zone file / DNS records and replacing the local IP with your outside, global IP.

    That can be done through -> DNS Manager -> and selecting the respective subdomain.
     
Loading...