I'm a beginner when it comes to Unix based OS-s. My friend has lost his server due to HDD failure and asked me to help him configure a new one. He had W-Xp as OS and i think Xampp or Wampp for the webserver side. I told him that i found a great tutorial with Centos and Ispconfig3 which would make his life easier and more secure
. So i followed the instruction from this website and finally wanted to test the server but i does not work
. We have a fixed IP (external) from the ISP, and we don't use a router. During the installation i set up this fixed ip as the ip of the eth0 network controller, the subnet mask, the gateway, and 2 DNS servers which the ISP gave us. First Question: how important is the hostname ? i mean I entered as the hostname : "server.mysite.com" (mysite.com is an example). Is this ok? Then i finished the installation and logged into ISPconfig.
Server Services: servername is "server.mysite.com" but this is also my hostname Is that bad?
In System/ Server config i can see my IP,netmask, gateway and my hostname which is "mysite.com". Those Nameservers should be those which the ISP gave us (2 DNS servers) or our own nameservers?
At DNS tab , i added a zone with the DNS wizard. Domain "mysite.com", nameservers "ns.mysite.com" and "ns1.mysite.com" and the server's IP. Then in records i added two A records with the two nameservers (the nameservers having our server's IP). So the nameservers and the server have the same IP cause we want to use our own nameservers on the same pc.
After his server died, he didn't change anything at his domain registrar, so the IP remained the same , and he had 1 nameserver the "ns.mysite.com" version.
I restarted the server, there were no errors, but when i typed www.mysite.com
nothing happened. We can access our server if we type the IP number in the browser, but it does not work when typing the domain name.
What are we doing wrong? probably everything
Sorry for the stupid questions.
If anyone has some kind of advice it would be greatly appreciated