Friday, September 1, 2017

domain name system - Create a subdomain for a internal server




I've a domain like domain.com and I've got a new requirements they give me a local server which is a web application and they asked me to create a sub domain that works internally for this server.



the local server is like : http://192.168.2.222/app/



The required sub domains is : http://app.domain.com



I've tried to add A and CNAME records on the dns for the sub domain but it didn't work. any suggestions to how accomplish this?


Answer



If app.domain.com is a domain name then you should create new zone depending which server you're using.




If app.domain.com is a host name then you just create A and PTR records in your zone.



Sure, you should have access to write the zone to accomplish this.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...