I'm not sure how it will work with CNAMEs.
CNAMEs work fine -- I have a wildcard CNAME for my domain pointing to the dyndns hostname for my server -- all SME-hosted domains perform correctly.
For *testing*, you can also edit the local 'hosts' file on your workstation (unless you browse using a proxy). On MacOS this is at
/private/etc/hosts. On Windows, it's at
c:\windows\system32\drivers\etc\hosts. To test from offsite, add an entry with the public IP of your SME server, a space or tab, then the name. (
more info, if you want it...)
cpits -
Assuming:
- your current domain is
original.smeserver.tld- your ibay name is
ibayname- your new domain is
newdomain.newsmesv.xxxCreating new domains on your SME should have looked like this:
1) Create the new ibay (eg ibayname)==> you should now see the new ibay from inside or outside the network using
http://original.smeserver.tld/ibaynameYou must see the new ibay before proceeding
2) Create the new domain (eg newdomain.newsmesv.xxx)* You need to enter the full domain name here
* During domain creation, specify
ibayname in the i-bay pull-down
* Set DNS to 'resolve locally'
==> you should see the new ibay using http://
newdomain.newsmesv.xxx from the LAN behind the SME server.
You must be able to see the new ibay at the new domain from a workstation behind the SME server before proceeding
3) create a public DNS entry for newdomain.newsmesv.xxx pointing to your SME server's public IP address.* This can be a CNAME for
original.smeserver.tld,
* You can test from off-site using a local hosts file as described above
Notes:*
ibayname cannot be 'files', 'horde', 'webmail', 'server-manager', 'server-common', 'user' or any other url reserved by the SME templates on your system (search
/etc/httpd/conf/httpd.conf for 'RewriteRule').
* Modern browsers may give you problems if the SSL certificate on your server does not include the new name (but you'd get a different error if that was the problem at this point...)
* The new domain cannot match any existing host entry on your SME for the original domain - ftp.mysmeserver.tld, mail.mysmeserver.tld, proxy.mysmeserver.tld, wpad.mysmeserver.tld,
www.mysmeserver.tld, or
<any manually created host entry>.mysmeserver.tld)
* If your public DNS resolves to your SME server
at all then you would see the Primary ibay if the SME ibay and domain configuration were incorrect, and you would see entries in
/var/log/httpd/access_log related to your attempted access.