How to assign subdomain to another droplet?

So, here is my zone file:

$TTL 1800 IN SOA 1454404311 10800 3600 604800 1800 1800 IN NS 1800 IN NS 1800 IN NS 1800 IN A 1800 IN CNAME 1800 IN A

as it looks like, I want to assign to, but it shows me 403 Forbbiden access!

How can I setup my subdomain to this ip and should i config my apache?


If you ping, what is the IP ?

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

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.

Hey there,

I don’t see that this zone is currently setup as your example shows. However, everything in your example is correct as far as how DNS works. The 403 error is a web server error. You would want to confirm how you have the subdomain configured as a virtual host. This tutorial would go over that in greater detail.

Happy coding,

Jon Schwenn Platform Support Specialist DigitalOcean