By mnml
Let’s start with the zone file:
mysi.te. 1800 IN NS ns1.digitalocean.com. mysi.te. 1800 IN NS ns2.digitalocean.com. mysi.te. 1800 IN NS ns3.digitalocean.com. mysi.te. 1800 IN A <droplet’s IP address here> txt.mysi.te. 1800 IN A <droplet’s IP address here> // this is where the blog should be www.mysi.te. 1800 IN CNAME mysi.te.
I changed the DNS settings so now any.mysi.te doesn’t take you to mysi.te, but gives you an error message and this is fine. When you type txt.mysi.te, you go to the blog, and this is fine too. However, when you go to mysi.te, you will see the blog again, and I basically want to see Nginx’s Welcome message there.
But this is not happening. What am I doing wrong?
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!
You need a virtual host to handle that domain name, otherwise Nginx will fall back to the default one, which is either the one you specifically defined as default, or the first one it will have loaded from your configuration.
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.