Virtual host setup question Linux?

July 3rd, 2009

I have setup a virtual domain setup on my server but on firefox for mac it requires that I have WWW as a prefix or it points to another virtual host if I don’t but only on firefox for mac. In safari it is fine. I haven’t check on a pc because my pc is down so I don’t know the results. Can someone suggest a solution?

Here is the configuration I have for the virtual host
NameVirtualHost 208.109.222.81:80

<VirtualHost 208.109.222.81:80>
ServerAdmin "webmaster@wetito.com"
ServerName wetito.com
ServerAlias wetito.com
MIMEMagicFile /dev/null
CustomLog logs/wetito.com_access_log "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
ErrorLog logs/wetito.com_error_log

DocumentRoot "/home/jacobb2/spanish"
<Directory "/home/jacobb2/spanish">
Options +Indexes +FollowSymLinks
Order allow,deny
Allow from all
AllowOverride All
</Directory>

Alias /usage "/home/jacobb2/spanish/usage"
<Location /usage>
Orde

If you use IP address virtual domains, you need to be very careful of addresses, you need the dns set to point to the plain domain name, and the slightest inconsistency will drop it to the server default domain. I find name virtual hosting is more reliable. Also the server name and alias are not both required if identical, try changing the alias to www.wetito.com to cover both names.

powered by Yahoo Answers

One Response

  1. Colinc Says:

    If you use IP address virtual domains, you need to be very careful of addresses, you need the dns set to point to the plain domain name, and the slightest inconsistency will drop it to the server default domain. I find name virtual hosting is more reliable. Also the server name and alias are not both required if identical, try changing the alias to http://www.wetito.com to cover both names.
    References :

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Posted by Beny Lam and filed under virtual server hosting |

|