DNS Server linuxLinux serverNETWORK ADMINISTRATIONS

Nginx Mastery | Static Files | Multiple Domain | Local DNS configuration

The Nginx Mastery Series focuses on building and administrating Nginx services. In this tutorial we focus in configuring multiple domain names learning more about Nginx configuration for serving static sites. In addition, we build a local DNS server working from a Docker container.

Repository:
https://github.com/veryacademy/yt-nginx-mastery-series

source by Very Academy

linux dns server

11 thoughts on “Nginx Mastery | Static Files | Multiple Domain | Local DNS configuration

  • Couldn't you just modify the /etc/resolv.conf of the containers to use your dns container, rather than change your host system's DNS resolver? I'm not sure if this would work or not but it would interesting if it did.

  • you could also change your hosts file

  • I'm getting error, it;s saying port number 80 and 53 both already in use. running on ubuntu and there's a apache2 server already running on my local machine, not on docker. I changed the port number in container for dns to 54 and nginx back to 8000 in docker-compose file. Then it started running but when i run nslookup command , it couldn't find the server. can you give me some suggestion, please.

  • Thank you. How to serve pdf files and images with Nginx but only to users that have permission on those files and are logged in on my Django website ?

  • plz i have probleme in django help me 🙁

Comments are closed.