So, here is my zone file:
$ORIGIN saidi27.com.
$TTL 1800
saidi27.com. IN SOA ns1.digitalocean.com. hostmaster.saidi27.com. 1454404311 10800 3600 604800 1800
saidi27.com. 1800 IN NS ns1.digitalocean.com.
saidi27.com. 1800 IN NS ns2.digitalocean.com.
saidi27.com. 1800 IN NS ns3.digitalocean.com.
saidi27.com. 1800 IN A 46.101.221.215
www.saidi27.com. 1800 IN CNAME saidi27.com.
track.saidi27.com. 1800 IN A 46.101.179.146
as it looks like, I want to assign track.saidi27.com to 46.101.179.146, but it shows me 403 Forbbiden access!
How can I setup my subdomain to this ip and should i config my apache?
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
If you ping track.saidi27.com, what is the IP ?