[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Reverse Lookup for Same IP Domains



> On the Site Settings page of the GUI for the site in question it should 
> have been set up as follows:
> 
> IP: xxx.xxx.xxx.xxx
> Host Name: www
> Domain Name: domain.com
> Web Server Alias: domain.com
> Email Server Alias:  You said you were not using it.
> 
He has a RaQ2 it doesn't have the above in the GUI.
No Web Server Alias: domain.com
No Email Server Alias:

The RaQ2 normally sets up httpd.conf as follows.
<VirtualHost 1.2.3.4>
ServerName www.domain.com
ServerAdmin admin
ServerAlias domain.com        # this detects non www
DocumentRoot /home/sites/siteN/web
RewriteEngine on
RewriteCond %{HTTP_HOST}     !^1.2.3.4(:80)?$
RewriteCond %{HTTP_HOST}     !^www.domain.com(:80)?$
RewriteRule ^/(.*)         http://www.domain.com/$1 [L,R]
Gerald W