Hi,
Bear with me because I am quite new to server administration!
I have just set up a freeBSD dedicated server with apache, mysql, php etc. It will host files if I type in the IP address to the browser, but if I use the domain name it won't resolve and I get
I suspect this is a problem with the name server, which is out of my hands, but I am worried it could be something I havn't set up properly in apache.
in httpd.conf I have set:
(where mydomain.com equals my actual domain name)
and after reading around I also added the following to try and fix it:
The domain name has recently been changed to point to the new dedicated server, and I've got a feeling it might not have been set up correctly yet. The changing of this is out of my hands, but setting up the apache server is my responsibility.
Could I get this error if apache was not set up correctly, or would I get a more descriptive message?
Any help would be massively appreciated!
Thanks,
James
Bear with me because I am quite new to server administration!
I have just set up a freeBSD dedicated server with apache, mysql, php etc. It will host files if I type in the IP address to the browser, but if I use the domain name it won't resolve and I get
(exact wording varies depending on browser)."The browser could not find the host server for the provided address."
I suspect this is a problem with the name server, which is out of my hands, but I am worried it could be something I havn't set up properly in apache.
in httpd.conf I have set:
Code:
ServerName www.mydomain.com
Code:
DocumentRoot "usr/local/www/data"
and after reading around I also added the following to try and fix it:
Code:
<VirtualHost *>
ServerName www.mydomain.com
ServerAlias www.mydomain.com
DocumentRoot /usr/local/www/data/
</VirtualHost>
The domain name has recently been changed to point to the new dedicated server, and I've got a feeling it might not have been set up correctly yet. The changing of this is out of my hands, but setting up the apache server is my responsibility.
Could I get this error if apache was not set up correctly, or would I get a more descriptive message?
Any help would be massively appreciated!
Thanks,
James