Hi!,
I am new to Linux / Apache and am having problems configuring my apache server. Thi s is the problem:
I have my own domain eg www.mydomain.com and my own ip address eg 192.168.45.1 and I want to setup other sub domains
eg fredbloggs.mydomain.com. I also need to point this subdomain at a second index.html file for the new sub domain just by using
fredbloggs.mydomain.com. Am I right in calling this a subdomain? or a virtual domain?. I have also included a copy of the virtual domain section of my httpd.conf file. Any help wouyld be greatly appreciated!
<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /var/www/html/fredbloggs/index.html
ServerName fredbloggs/mydomain.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
when I point my browser at http://www.fredbloggs.mydomain.com it cannot find the index.html page.