Hown Configure a Subdomain to Other Server

  • Posted on March 15, 2014
  • webgahaAsked by webgaha

i configure a subdomain to point a other server (in zone file). What i want know now is: that config i need to do in this other server subdomain to be accessible? please, be helpful in your explanation. I’m iniciant in linux.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

a zone fila complete? <br> <br>$TTL 86400 <br>@ IN SOA…com. ( <br> 2013042201 ;Serial <br> 3600 ;Refresh <br> 1800 ;Retry <br> 604800 ;Expire <br> 86400 ;Minimum TTL <br>) <br>; Specify our two nameservers <br> IN NS <br> IN NS <br>; Resolve nameserver hostnames to IP, replace with your two droplet IP addresses. <br>ns1 IN A <br>ns2 IN A <br> <br>; Define hostname -> IP pairs which you wish to resolve <br>@ IN A <br>www IN A

There are two general steps that you need to follow: <br> <br>1.- Create an A record in your Zone File for the subdomain pointing to the new server. e.g. <br> <br> 3600 IN A <br> <br>2.- Configure the webserver in your new server so that it can serve that subdomain. This depends on the webserver running on your other machine (Apache, Nginx, lighthttp, etc)