Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Own domain set up with DNS, only see "Welcome to nginx!"
I have deployed a Django app that is serving a REST API on Ubuntu 14.04 through Nginx. Everything works fine when I visit XX.XXX.XXX.XXX/example/api.json.
However, I have bought my own domain and followed the guide to connect it to my droplet, and I have some problems. When I go to mydomain.com I get the “Welcome to nginx” message, and if I go to mydomain.com/example.api.json, I get a 404 Not Found | nginx/1.4.6 (Ubuntu).
What have I done wrong, and how can I start to look for bugs?
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.×