hammonjj
January 23rd, 2007, 12:19 AM
I'm trying to set up a couple of websites on my new server using virtual hosting, but I am having no luck. After viewing multiple websites on how to enable virtual hosting I have modified my httpd.conf file to look like this:
NameVirtual Host *
<VirtualHost *>
ServerName www.jones-hammondwedding.com
DocumentRoot /var/www/jones-hammondwedding.com/htdocs
</VirtualHost>
<VirtualHost *>
ServerName hammonjj.mine.nu
DocumentRoot /var/www/hammonjj.mine.nu/htdocs
</VirtualHost>
Everytime I try to load the server I get the message:
Could not determine server's fully qualified domain name...
AND
[warn] NameVirtualHost *:0 has no virtualhosts
Can anyone tell me where I am going wrong? I've tried multiple methods of working virtual hosting, but none seem to be working. I'm sure I'm missing something dumb too.
Also, is there a way to avoid using port 80 for http, yet set it up in such a way that visitors to my website won't notice?
Thanks
James
BTW I'm using Ubuntu 6.10 Desktop
NameVirtual Host *
<VirtualHost *>
ServerName www.jones-hammondwedding.com
DocumentRoot /var/www/jones-hammondwedding.com/htdocs
</VirtualHost>
<VirtualHost *>
ServerName hammonjj.mine.nu
DocumentRoot /var/www/hammonjj.mine.nu/htdocs
</VirtualHost>
Everytime I try to load the server I get the message:
Could not determine server's fully qualified domain name...
AND
[warn] NameVirtualHost *:0 has no virtualhosts
Can anyone tell me where I am going wrong? I've tried multiple methods of working virtual hosting, but none seem to be working. I'm sure I'm missing something dumb too.
Also, is there a way to avoid using port 80 for http, yet set it up in such a way that visitors to my website won't notice?
Thanks
James
BTW I'm using Ubuntu 6.10 Desktop