Hello guys :) i'm trying to resolve some problems with my DNS server + apache2 and local machine.
I've got Ubuntu server on VirtualBox with NAT network adapter.
I tried to create DNS server for my page praktykant.local On Ubuntu server VM can only access the page by 10.0.2.15 (ubuntu server IP) or by dns1.praktykant.local In my local machine i can access only page by 127.0.0.1 with port forwarding.
Port forwarding i tried: port forwarding
bind9: praktykant.local
apache2 files: praktykant.local.conf
Questions i've got are two.
- Whatis wrong in configuration files that Ubuntu server works only with dns1.praktykant.local instead of praktynat.local
- How to configure my port forwarding and local machine (windows) to use DNS server and resolve dns1.praktykant.local or praktykant.local to apache server startup page.
Thank you for your kind help :) With regards, Jakub