[mythtv-users] Changed hostname, now Mythweb doesn't work...

Skavoovie mythtv at skavoovie.com
Mon Apr 12 11:06:56 EDT 2004


Changed hostname, now Mythweb doesn't work...Are you using name-based VirtualHosting within Apache?

If you are, then comment out your ServerName entry in the main area (what you just added), and create a ServerName entry in your name-based <VirtualHost> entry. Don't add the :80 port specification when including the ServerName tag in a VirtualHost entry -- it will already be configured in the name-based hosting.

For example:

NameVirtualHost www.domain.com:80

...

<VirtualHost www.domain.com:80>
        ServerName www.domain.com
        ServerAlias domain.com
        DocumentRoot /var/www/html
        AccessFileName .htaccess
        ServerAdmin webmaster at domain.com
        DirectoryIndex index.htm index.html index.php
        LogLevel warn
</VirtualHost>



--Skavoovie


  ----- Original Message ----- 
  From: Nate Thompson 
  To: 'Discussion about mythtv' 
  Sent: Monday, April 12, 2004 12:38 AM
  Subject: [mythtv-users] Changed hostname, now Mythweb doesn't work...


  I recently changed my hostname from the default 'localhost.localdomain' to something a bit more descriptive. I followed the steps in the Mythtv.org documenatation to do this, and believe everything went smoothly. However, whenever the httpd service tries to start now, it fails. I edited my /etc/httpd/conf/httpd.conf file and declared ServerName to be mythfront:80. Now it does not give me an error about not being able to determine the server's domain name, but it still fails to load. Does anyone have any ideas? I'm sure its just an Apache configuration problem somewhere.

  Nate Thompson 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20040412/4190647d/attachment-0001.htm


More information about the mythtv-users mailing list