By Aien Saidi
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?
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!
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
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.