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.
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!
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>subdomain.domain.com. 3600 IN A 0.0.0.0 <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)
a zone fila complete? <br> <br>$TTL 86400 <br>@ IN SOA subdomain.domain.com…com. root.mydomain.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 ns1.subdomain.domain.com. <br> IN NS ns2.subdomain.domain.com. <br>; Resolve nameserver hostnames to IP, replace with your two droplet IP addresses. <br>ns1 IN A 1.1.1.1 <br>ns2 IN A 2.2.2.2 <br> <br>; Define hostname -> IP pairs which you wish to resolve <br>@ IN A 3.3.3.3 <br>www IN A 3.3.3.3
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.