I need to create a virtual machine using vmware, install FreeBSD on that VM, install and configure BIND, Apache, PHP and MySQL and finally install joomla. This is a part of my class project. I have experinece with windows, ubuntu and centos web servers, but this is new for me.
So far, I have configured VM, FreeBSD, BIND and Apache. I had problem with, network, static IP, gateway, but now everthing looks OK, except I cannot ping local domain.
I can ping domains and IP adresses out of my network. I can ping localhost and my own IP adress (192.168.1.10). From another computers on the network I can acess apache default webpage by typing IP adress 192.168.1.10 in url bar, but when I type mydomain.com it can find it.
this is mydomain.com file (that is not the real name of my domain)
Does anybody have any idea what I did wrong?
So far, I have configured VM, FreeBSD, BIND and Apache. I had problem with, network, static IP, gateway, but now everthing looks OK, except I cannot ping local domain.
I can ping domains and IP adresses out of my network. I can ping localhost and my own IP adress (192.168.1.10). From another computers on the network I can acess apache default webpage by typing IP adress 192.168.1.10 in url bar, but when I type mydomain.com it can find it.
this is mydomain.com file (that is not the real name of my domain)
Code:
$TTL 3600
mydomain.com. IN SOA webserver.mydomain.com. root.mydomain.com. (
1 : Serial
10800 : Refresh
3600 : Retry
604800 : Expire
86400 : Minimum TTL
)
mydomain.com. IN NS webserver.mydomain.com.
webserver.mydomain.com. IN A 192.168.1.10
www IN CNAME webserver.mydomain.com.
mydomain.com. IN MX 10 mailserver.mydomain.com
Does anybody have any idea what I did wrong?