Condate,
Thanks for your detailed reply and help. Great avatar btw
So I played around with this a little bit and tried to get some support from my provider. There was (on their part) some confusion about the fact that I was using a subdomain test.crownhillpackaging.com so I've changed things a bit so it should be more clear. The site I need to make live is at crownhill.openbluemu.com and once i get this sorted I need to connect it to crownhillpackaging.com but for testing purposes I'm using a spare domain so I have set
www.jewelleryflow.com (you need to put in the www in the browser) with a CNAME to crownhill.openbluemu.com and, of course, it doesn't work.
In my /etc/apache2/sites-available there is a .conf file for each domain and another that says default. I have pasted the default conf and the openbluemu conf.
So the trick seems to be how to tell apache to direct the traffic. At this point, I'm not even going to worry about whether or how wordpress handles the resolution once it gets the traffic because I'm not even that far yet. All I want for now is to get this CNAME to work.
So that's kind of where I am right now. I'm really looking forward to your response.
Thanks,
Robin.
default.conf
NameVirtualHost *
NameVirtualHost 97.107.131.120:80
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
openbluemu.conf
<VirtualHost 97.107.131.120:80>
SuexecUserGroup "#1001" "#1002"
ServerName openbluemu.com
ServerAlias
www.openbluemu.com
ServerAlias webmail.openbluemu.com
ServerAlias admin.openbluemu.com
ServerAlias *.openbluemu.com
DocumentRoot /home/openbluemu/public_html
ErrorLog /var/log/virtualmin/openbluemu.com_error_log
CustomLog /var/log/virtualmin/openbluemu.com_access_log combined
ScriptAlias /cgi-bin/ /home/openbluemu/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/openbluemu/public_html>
Options -Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/openbluemu/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.openbluemu.com
RewriteRule ^(.*)
https://openbluemu.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.openbluemu.com
RewriteRule ^(.*)
https://openbluemu.com:10000/ [R]
Alias /dav /home/openbluemu/public_html
<Location /dav>
DAV On
AuthType Basic
AuthName openbluemu.com
AuthUserFile /home/openbluemu/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
</Location>
</VirtualHost>